#meisei81_api

1 messages · Page 1 of 1 (latest)

regal lavaBOT
#

👋 Welcome to your new thread!

⏲️ 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!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1214409312017850408

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

desert troutBOT
#

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.

hazy cave
#

Alternatively, can you share your account ID, so that I can take a closer look at how your integration works? You can find your account ID by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123

coral yew
#

acct_1OhpR0E2ZZnUHRVW

hazy cave
#

I can't find the request on this account. Can you share the code that threw the error, i.e. the code that you create a Checkout Session?

coral yew
#

curl --location 'https://api.stripe.com/v1/checkout/sessions'
--header 'Stripe-Account: acct_1JJwV5CsiaKaCQKS'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic xxxxxx'
--data-urlencode 'success_url=https://dcdn-mshop-api-test.neyber.tech/api/stripe/checkout/success'
--data-urlencode 'line_items%5B0%5D%5Bprice%5D=price_1Lay1ZCsiaKaCQKSUocFbX2v'
--data-urlencode 'line_items%5B0%5D%5Bquantity%5D=1'
--data-urlencode 'mode=payment'
--data-urlencode 'customer=cus_OTL7HhAOcUzLa3'
--data-urlencode 'invoice_creation%5Benabled%5D=true'
--data-urlencode 'payment_method_types%5B0%5D=customer_balance'
--data-urlencode 'payment_intent_data%5Bsetup_future_usage%5D=on_session'

#

Maybe my code is wrong?

hazy cave
#

Your request tried to create a Checkout Session on the acct_1JJwV5CsiaKaCQKS, but it was not connected to any platform.

In addition, acct_1OhpR0E2ZZnUHRVW is not a platform. Stripe-Account header should only be used on the Connect setup.

#

If you wish to create a Checkout Session without Connect setup, Stripe-Account header should be removed

coral yew
#

Let me check my code. I think the code was past

coral yew
#

req_id: req_eXazLvas0UTCts

#

Hi, I'd tried but got error A value is required for `payment_method_options[customer_balance][payment_method_options[customer_balance]].

hazy cave
#

When manual payment method is used, i.e. payment_method_types is set, payment_method_options[customer_balance] should be set: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_options-customer_balance

For EUR bank transfer, here's the doc on what payment_method_options should be set: https://docs.stripe.com/payments/bank-transfers/accept-a-payment?platform=web&invoices=without&integration=pm-manual&country=eu#element-create-payment-intent

Use the Payment Intents API to accept bank transfer payments.

#

If automatic payment method is used, i.e. payment_method_types isn't set, payment_method_options will not be needed

coral yew
#

Got it. Let me check with the docs.

coral yew
#

Hi, I can see the BIC, IBAN etc. information

#

How can I make a bank transfer for testing

hazy cave
coral yew
#

Ok