Stripe Payment

Test API Server Connection Failed - Stripe Payment

Test API Server Connection Failed

by Alice263 » Tue Feb 25, 2025 10:01 am

Hi guys,

I have installed the module and setting up the webhook in stripe, everything in test.

When I try to test te connection on Phoenix, the connection fails:

Server:
https://api.stripe.com/v3/

Failed! Please review the Verify SSL Certificate settings and try again.

I have disabled the SSL verification, but the error doesn't disappears.

Test in Stripe apparently works good.

Do you have any idea of this problem?
My ssl configuration is ok
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:
Contact:

Re: Test API Server Connection Failed

by raiwa » Tue Feb 25, 2025 10:06 am

Yes, the connection test is outdated. Just try a (test) transaction, it should work.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Test API Server Connection Failed

by Alice263 » Tue Feb 25, 2025 10:08 am

Do you mean the test with the Stripe CLI?

I have testesd this part and it looks good, but I didn't receive the info in the dashboard
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:
Contact:

Re: Test API Server Connection Failed

by raiwa » Tue Feb 25, 2025 10:13 am

Is this a local test-installation or a public reachable server? Check also if you have any firewall security setting which may block the stripe ips.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Test API Server Connection Failed

by Alice263 » Tue Feb 25, 2025 10:32 am

I have a public reachable hosting web. BTW, stripe config seams good, it something wrong on Phoenix side. I have used test mode, with public key and secret key, with the secret of the webhook.
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:
Contact:

Re: Test API Server Connection Failed

by raiwa » Tue Feb 25, 2025 10:35 am

Which exact Phoenix, stripeaddon and PHP version sare you running. Make sure you have the webhook in place.
Test the webhook in your stripe account. Make sure you have all credentials correct entered.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Test API Server Connection Failed

by Alice263 » Tue Feb 25, 2025 10:42 am

CE Phoenix v1.0.9.10
PHP version 8.4
stripe_sca_v1.6.0

In Stripe account, all the tests are delivered with success.
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:
Contact:

Re: Test API Server Connection Failed

by raiwa » Tue Feb 25, 2025 10:46 am

Do have the standard settings for the order statuses in the module?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Test API Server Connection Failed

by Alice263 » Tue Feb 25, 2025 11:01 am

Set Order Processed Status
Pending

Logs from my web-hosting server are good when I test, so no firewall drops:
Alice263
Member
Posts: 7
Joined: Thu Feb 20, 2025 3:04 pm
Phoenix Version:
Contact:

Re: Test API Server Connection Failed

by raiwa » Tue Feb 25, 2025 11:07 am

Please leave all order status settings as set by installation:
Set New Order Status
Preparing [Stripe SCA]

Set Order Processed Status
Stripe SCA [Transactions]

Transaction Order Status
Stripe SCA [Transactions]
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact: