#Enguerran | Suiswap

1 messages ยท Page 1 of 1 (latest)

velvet inletBOT
slender locust
#

Hi ๐Ÿ‘‹

Creating a Payment Intent does require a Secret Key.

#

Do you have an example Payment Intent ID I can check?

gentle shard
#

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

slender locust
#

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

gentle shard
#

What can i do ? Change the private key ?

slender locust
#

I would recommend you roll your private key and evaluate how/where it may have leaked.

gentle shard
#

Thats the problem actually my private key was in my .env file ๐Ÿ˜ฌ