#josula_api

1 messages · Page 1 of 1 (latest)

dawn slateBOT
#

👋 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.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

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

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

dreamy dove
#
"next_action": 
null,
"on_behalf_of": 
null,
"payment_method": 
null,
"payment_method_configuration_details": 
null,
"payment_method_options"
: {
"customer_balance"
: {
"bank_transfer"
: {
"eu_bank_transfer"
: {
"country": 
"DE",
},
"type": 
"eu_bank_transfer",
},
"funding_type": 
"bank_transfer",
},
},
"payment_method_types"
: [
"customer_balance",
],
"processing": 
null,
#

When I try to confirm the PI:

"error"
: {
"code":
"payment_intent_unexpected_state",
"doc_url":
"https://stripe.com/docs/error-codes/payment-intent-unexpected-state",
"message":
"You cannot confirm this PaymentIntent because it's missing a payment method. To confirm the PaymentIntent with cus_UBTjM1o4udKJU0, specify a payment method attached to this customer along with the customer ID.",
"message_code":
"payment_intent_invalid_confirmation_state_with_customer_without_instrument",
"payment_intent"
:
{… 43 items}
,
"request_log_url":
"https://dashboard.stripe.com/acct_1Qols8QWc5EeQut9/test/workbench/logs?object=req_CzHF60nccOwkj9",
"type":
"invalid_request_error",
},

Review the list of error codes Stripe might return in an API response so you can handle responding to them in your integration.

ancient patrol
#

Hello, looking into how to get the VBAN if you want to show it in your own UI. To clarify, next_action is a property for details on actions that need to happen after the confirm. For example with 3DS it will hold data that helps the SDK present the right 3DS dialog to the customer.

dreamy dove
#

I cannot really follow to be honest. I want to create a payment intent that allows the customer to transfer money via bank transfer to pay the payment intent

#

And I somehow want to send them these bank details from Stripe in an email therefore I somehow need to extract these payment details

ancient patrol
#

My apologies I forgot some of the details on how bank transfers work here. I see what you are talking about with the confirm and the next action.
I think what you need to do is specify that you're confirming it with a customer balance payment method. I found my example integration passes this info by passing the payment_method_data param. I think this call should work for you

  -u REPLACE_WITH_YOUR_SECRET_KEY: \
  -d "payment_method_data[type]"=customer_balance```
dreamy dove
#

Thanks will check