#smriti15s-incomplete-payment
1 messages · Page 1 of 1 (latest)
pi_3KG4NfQIu2EN3Kne0FIWjUFe
Thanks, the status of this payment intent is requires_payment_method, did you collect the payment info via Stripe elements?
Yes, I did
I didn't see any payment attempts. Did you see any error in browser console when making the payments?
const result = stripe.confirmAuBecsDebitPayment(stripeClientSecret, {
payment_method: {
au_becs_debit: elements.getElement(AuBankAccountElement),
billing_details: {
name: stripeBECSName,
email: stripeBECSEmail,
},
}
});
Did you mean executing this part of the code will make the payment attempt?
Yes
I tried creating new intent and this time, i m getting error No such payment_intent: 'pi_3KGHs68koCc0PPtk1O9vWJbk.
But it does exist.and this is the client secret "pi_3KGHs68koCc0PPtk1O9vWJbk_secret_lCcCOc1wliHOyr2H8P0BU2iHX"
this payment intent is created in test mode, did you use live mode publishable key in your frontend code?
No, the key i m using is started with pk_test, it's the test mode key.
so you get No such payment_intent error when pass pi_3KGHs68koCc0PPtk1O9vWJbk_secret_lCcCOc1wliHOyr2H8P0BU2iHX as clientSecret to stripe.confirmAuBecsDebitPayment ?
Yes, Thanks issue is resolve now.
It was required to provide connectd account id here const stripePromise = loadStripe(process.env.REACT_APP_STRIPE_KEY, {
stripeAccount: 'acct_1K9iC48koCc0PPtk'
});
I see, you were making a direct charge.
Yes
Yup, you'll need to provide the stripeAccount so that the stripe.js knows which account this charge is assciated to