#smriti15s-incomplete-payment

1 messages · Page 1 of 1 (latest)

paper whale
#

Hi, @thorny vine can you send me the payment intent ID?

thorny vine
#

pi_3KG4NfQIu2EN3Kne0FIWjUFe

paper whale
#

Thanks, the status of this payment intent is requires_payment_method, did you collect the payment info via Stripe elements?

thorny vine
#

Yes, I did

paper whale
#

I didn't see any payment attempts. Did you see any error in browser console when making the payments?

thorny vine
#

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?

paper whale
#

Yes

thorny vine
#

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"

paper whale
#

this payment intent is created in test mode, did you use live mode publishable key in your frontend code?

thorny vine
#

No, the key i m using is started with pk_test, it's the test mode key.

paper whale
#

so you get No such payment_intent error when pass pi_3KGHs68koCc0PPtk1O9vWJbk_secret_lCcCOc1wliHOyr2H8P0BU2iHX as clientSecret to stripe.confirmAuBecsDebitPayment ?

thorny vine
#

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'
});

paper whale
#

I see, you were making a direct charge.

thorny vine
#

Yes

paper whale
#

Yup, you'll need to provide the stripeAccount so that the stripe.js knows which account this charge is assciated to