#ddbg-sub-updates

1 messages · Page 1 of 1 (latest)

tight cairnBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • ddbg, 1 day ago, 17 messages
ocean pier
#

Hello! What's the error you're getting?

smoky nest
#

Hey @ocean pier :), I have an invalid array

ocean pier
#

Yeah you're getting an error because you're passing in a hash for items. It's expecting an array.

You likely need to do somethign like this:

 {
    "items": [
      "price_data": {
        "unit_amount_decimal": amount * 100
      }
    ]
 }
smoky nest
#

ahhh I'm passing an object instead of an array?

#

Thank you, I'm trying it!