#adamthedeveloper_api

1 messages ยท Page 1 of 1 (latest)

shadow plazaBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212461359716106300

๐Ÿ“ Have more to share? You can add more detail below, including code, screenshots, videos, etc.

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!

lament kestrelBOT
outer thistle
#

The CURL request I used was:

  -u "sk_live_51KqGWFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:" \
  -H "Stripe-Version: 2020-08-27;terminal_hardware_orders_beta=v4" \
  -d "hardware_order_items[terminal_hardware_sku]"=thsku_J2Qtkrh7X6iusM \
  -d "hardware_order_items[quantity]"=1 \
  -d payment_type=monthly_invoice \
  -d "shipping[address][line1]"="XXXXXXXXXX XXX XXXXXX" \
  -d "shipping[address][line2]"="XXXXXXXXXXXXXXXXXXXXXX" \
  -d "shipping[company]"="XXXXXXXXXXXXXXXXXXXXXX" \
  -d "shipping[address][city]"="Swindon" \
  -d "shipping[address][state]"="Wiltshire" \
  -d "shipping[address][postal_code]"="SN3 4YH" \
  -d "shipping[address][country]"=GB \
  --data-urlencode "shipping[phone]"="+44123456789" \
  -d "shipping_method"="thsm_MfuTnm9PI11GMo" \
  --data-urlencode "shipping[email]"="me@me.com" \
  -d "shipping[name]"="Max Power" \
  -d "po_number"="EXAMPLE_PO_123"
#

(Except I changed some sensitive data to XXXXX etc)

lunar thunder
#

Hello! The hardware_order_items property needs to be an array of objects. You specified a single object, not an array. Huh... the snippet in our docs appears to be wrong. WIll need to fix that... anyway, try hardware_order_items[0][terminal_hardware_sku] and hardware_order_items[0][quantity] and see if that works.

outer thistle
#

Aha!

#

I'll try that one

#

All sorted! It worked, thank you

shadow plazaBOT
outer thistle
#

Actually, we notice on the emails that get sent out, it links to the Stripe Dashboard. Our Connect clients don't have access to the dashboard. They will probably click the link in the email and try to log in. Is there anyway to modify the emails?

tall garden
#

Hi, stepping in as Rubeus is away. There is not a way to modify this email. However, if you have any further questions on emails, you would need to contact our support team at https://support.stripe.com/contact.

outer thistle
#

How would contacting that team help ๐Ÿ˜‚ ?

#

But thanks anyway...

tall garden
#

I was saying if you had any more questions related to emails we do not have the expertise here so you'd need to talk to our support team.