#Enguerran | Suiswap
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Creating a Payment Intent does require a Secret Key.
Do you have an example Payment Intent ID I can check?
pi_3MrhD9H0XDaR4Pyv0haov436
pi_3MrgvQH0XDaR4Pyv1RsA39pJ
i try to know if the problem come from my backend (php) that use the secret key
or from the front end (flutter application) that use the public key
The public key cannot create a Payment Intent.
Does your PHP back-end use the Stripe PHP library?
Neither Payment Intent creation request included the User Agent headers we expect so this is hard to troubleshoot
But the IP addresses are odd. The first one maps to Germany and the second one maps to India
Yes ๐
What can i do ? Change the private key ?
I would recommend you roll your private key and evaluate how/where it may have leaked.
Thats the problem actually my private key was in my .env file ๐ฌ