#programmer.anamul
1 messages · Page 1 of 1 (latest)
Could you share the Payment Intent ID (pi_xxx) that is used in this Payment Element?
I have use STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY
I understand. By providing the Payment Intent (pi_xxx), it will allow me to check how the payment method is configured
How can I get Payment Intent (pi_xxx)
When you render the Payment Element, it requires Payment Intent client secret to be set. You should be able to find the Payment Intent ID or its client secret from where you render Payment Element
Alternatively, you can find the Payment Intent in the dashboard: https://dashboard.stripe.com/test/payments
It's my client project. He just shear me STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY.
Can you check by those key?
Can you share the publishable key then?
pk_test_51M5wNrGcZNQtrpugCDQgiEp5QTO63VqbOd7WuVBPhUBuEieATdS0jciPDHeo4BAyCBp083fg3yqTMtQFqdRKZmlL00ObKpHK36
Thanks for sharing. Based on https://dashboard.stripe.com/test/logs/req_nlcc1EGo2I7x5r, payment method is configured using:
automatic_payment_methods: {
enabled: "true",
},
With automatic payment methods, you can turn off the payment method such as giropay in the payment method configuration page in the dashboard: https://dashboard.stripe.com/test/settings/payment_methods
No code changes is required with automatic payment methods enabled
I should turn off the payment method on my deshborad, Right?
yep!
Thank You. One more Question please
I also need to add an email field in this form. Is it possible on stripe element?
I'm afraid it's not possible to always collect email address in Payment Element. You'd need to implement on your own
Ok. Thank you
No problem! Happy to help 😄