#vibha-sharma_api

1 messages ¡ Page 1 of 1 (latest)

solar dragonBOT
#

👋 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/1288805345141067798

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

rough hill
#

Hi, let me help you with this.

lunar zinc
#

got this error

You cannot confirm this PaymentIntent because it's missing a payment method. To confirm the PaymentIntent with cus_Qv1QlD2b0Vdxw9, specify a payment method attached to this customer along with the customer ID."
}

rough hill
lunar zinc
#

here is pi id=> pi_3Q3EubIE5Vvk0efG0eBdy0ub

#

here is req id=> req_X8dkBkfoO1gvhq

rough hill
#

Where do you see the error exactly? It doesn't seem to relate to this PI.

#

Ok, looking at your account...

lunar zinc
#

payment indent created successfully but there is next_action is null

rough hill
lunar zinc
#

I have created payment indent like that

$this->stripe->paymentIntents->create([
'amount' => $request['amount'] * 100, // Amount in the smallest currency unit
'currency' => $request['currency_code'],
'payment_method_types' => ['customer_balance'], // Use customer balance for bank transfers
'payment_method_options' => [
'customer_balance' => [
'funding_type' => 'bank_transfer',
'bank_transfer' => [
'type' => 'gb_bank_transfer', // Correct type for UK bank accounts
],
],
],
'customer' => $customer->id,
]);

#

is there any issue??

rough hill
#

Yes, please read my previous message.