airwallex-payment-demo icon indicating copy to clipboard operation
airwallex-payment-demo copied to clipboard

can't confirm payment intent when adding payment_consent_id

Open leesegundo opened this issue 4 months ago • 0 comments

Describe the bug I am trying to make a payment transaction using the customer's existing payment method using consent. I can't confirm payment intent if I add a payment_consent_id instead of element but the confirmPaymentElement() method still looking for the element eventhough I use a payment_consent_id

To Reproduce

  1. On triggerConfirm() function, update the confirmPaymentIntent to:

confirmPaymentIntent({ payment_consent_id: 'your_payment_consent_id' id: intent_id, client_secret, }, })

Expected behavior This should confirm the paymentIntent

Screenshots image

Integration information:

  • language

    • [ ] angular
    • [ ] cdn
    • [ ] node
    • [ ] react
    • [ ] react-ts
    • [ ] ReactNative
    • [x] vue
  • element

    • [ ] hpp
    • [ ] dropIn element
    • [ ] card element
    • [x] split card element
    • [ ] full featured card element
    • [ ] applePay element
    • [ ] googlePay element Contexts:
  • Browser (e.g. stock browser, safari):

  • Language:

leesegundo avatar Feb 07 '24 05:02 leesegundo