#Emmanuel G.-wallets
1 messages · Page 1 of 1 (latest)
hello! how are you integrating alipay/wechat? Are you using the Payment Element, or Checkout or integrating them on their own
Payment Element.
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 can you share the PaymentIntent id so that i can take a look?
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