#karsten_32944

1 messages · Page 1 of 1 (latest)

mint scarabBOT
#

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.

dim escarp
#

👋 happy to help

#

it should be the same why?

#

@gentle karma please move your messages from the main channel into this thread

#

and let's keep the conversation rolling here

#

@gentle karma please stop posting on the main channel

#

move all of your messages here, otherwise I won't be able to help you

gentle karma
#

In the first payment_intents is used: curl https://api.stripe.com/v1/payment_intents
-u "sk_test_Y17KokhC3SRYCQTLYiU5ZCD2:"
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d amount=1000
-d currency=usd
-d "automatic_payment_methods[enabled]"=true
-d application_fee_amount=123

in the second checkout/sessions:
curl https://api.stripe.com/v1/checkout/sessions
-u "sk_test_Y17KokhC3SRYCQTLYiU5ZCD2:"
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d mode=payment
-d "line_items[0][price]"={{PRICE_ID}}
-d "line_items[0][quantity]"=1
-d "payment_intent_data[application_fee_amount]"=123
--data-urlencode success_url="https://example.com/success"
--data-urlencode cancel_url="https://example.com/cancel"

dim escarp
#

just fyi, the second guide gives you the integration for multiple surfaces: Stripe-hosted page, Embedded form and custom flow

#

the first one only covers the custom flow