#Emmanuel G.-wallets

1 messages · Page 1 of 1 (latest)

foggy knoll
#

hello! how are you integrating alipay/wechat? Are you using the Payment Element, or Checkout or integrating them on their own

dense dirge
#

Payment Element.

foggy knoll
#

Were you using Alipay / WeChat with Sources previously? There's no such concept of expiration if you're using PaymentIntents with the Payment Element now.

#

yes, the PaymentIntent lives for the entire lifespan until cancelled

dense dirge
#

Forsure thank you

#

Hello

foggy knoll
#

@dense dirge can you share the PaymentIntent id so that i can take a look?

dense dirge
#

ya give me one sec

#

pi_3Lcgpm2hlCbvP0Wg1WgP43VX

#

Anything found?

foggy knoll
#

if i understood correctly, after the QR code displays for a very short period of time, it'll disappear?

#

Our modal implementation will only stay open if the payment intent is in requires_action state. However, since your Stripe's account default API version is (2016-03-07), when creating/confirming the payment intent, the payment intent ended up returning requires_source_action [0] state instead of requires_action.

To fix this issue, you'll need to either :

  • explicitly define the API version used when initialising Stripe [1], or
  • upgrade your default API version [2]

to 2019-02-11 or above

[0] https://dashboard.stripe.com/logs/iar_3qyWh7pfPPVTXL
[1] https://stripe.com/docs/js/initializing#init_stripe_js-options-apiVersion
[2] https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api