#shouhu

1 messages ยท Page 1 of 1 (latest)

rotund tundraBOT
near sedge
#

Can you share an example pi_xxx

deft veldt
#

Can you clarify what you mean by pi_xxx? Not really sure where I could find this

near sedge
#

The ID of a Payment Intent you're passing to the Payment Element instance

#

You must be creating a Payment Intent before you initialise the Payment Element

deft veldt
#

Ah I see, yes I'm creating a payment intent and using that to create the payment element. automatic_payment_methods is also set to true. This is an example id from a payment intent created in test mode. I'm not sure if the last part is sensitive information so I anonimyzed the part after secret:
pi_3Luus3DRxoS4foaB0T3Pbf8P_secret_xxx

near sedge
#

It's not, they're safe to share. Taking a look anyway

deft veldt
#

Thanks ๐Ÿ™‚ Here's the full ID then if it helps:
pi_3Luus3DRxoS4foaB0T3Pbf8P_secret_RhoJaEmsiHQtGmSPC8uiBNCMs

near sedge
#

Hmm, not seeing anything obvious here. To be clear, it works (as in giropay, Sofort are present) in test mode but not in live?

#

Can you share a live pi_xxx?

#

There's also some locality specific limitation to these PMs that is likely bypassed in test mode. Where are you located?

deft veldt
#

Correct, Giropay and Sofort are present in test mode but not in live mode. Both Sofort and Giropay are turned on in the Stripe Dashboard page you linked(both in test and live mode). Apart from clicking the turn on button there was no configuration done though, and they are shown as "On" now with a green checkmark. I'm located in Germany and from my understanding those payment methods should work here. I'm not using a VPN and have tested from multiple networks.
Here is an payment intent ID from live mode: pi_3Luv6wDRxoS4foaB1wX4Qp3h_secret_zPz9LZJLpPcHdt6iFm8xOYJRp

near sedge
#

Let's see

#

You need to pass: automatic_payment_methods: { enabled: true }

deft veldt
#

Thanks! I wasn't aware that I could check the logs for the payment intents. But this must be it then, I already made those changes but I think the problem then is that those changes are not reflected yet in our production environment, only in staging, so the issue was about our infrastructure ๐Ÿ™‚