#programmer.anamul

1 messages · Page 1 of 1 (latest)

inland heronBOT
alpine drift
#

Could you share the Payment Intent ID (pi_xxx) that is used in this Payment Element?

dense canyon
#

I have use STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY

alpine drift
#

I understand. By providing the Payment Intent (pi_xxx), it will allow me to check how the payment method is configured

dense canyon
#

How can I get Payment Intent (pi_xxx)

alpine drift
#

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

dense canyon
#

It's my client project. He just shear me STRIPE_PUBLISHABLE_KEY and STRIPE_SECRET_KEY.

#

Can you check by those key?

alpine drift
#

Can you share the publishable key then?

dense canyon
#

pk_test_51M5wNrGcZNQtrpugCDQgiEp5QTO63VqbOd7WuVBPhUBuEieATdS0jciPDHeo4BAyCBp083fg3yqTMtQFqdRKZmlL00ObKpHK36

alpine drift
#

No code changes is required with automatic payment methods enabled

dense canyon
#

I should turn off the payment method on my deshborad, Right?

alpine drift
#

yep!

dense canyon
#

Thank You. One more Question please

#

I also need to add an email field in this form. Is it possible on stripe element?

alpine drift
#

I'm afraid it's not possible to always collect email address in Payment Element. You'd need to implement on your own

alpine drift
#

No problem! Happy to help 😄