Stripe Payment

Please help - Stripe Payment

Please help

by bigbrandoh » Mon Oct 18, 2021 6:26 pm

I have stripe setup on my new site but it does not work. Please help to setup, not sure I've done it correctly. I added public and secret key from stripe, try to do a payment but all I get is this...

I can't even enter credit card details, the field is so small. Shouldn't there be different fields for card details.

Untitled.jpg
bigbrandoh
Posts: 12
Joined: Mon Oct 18, 2021 6:07 pm
Contact:

Re: Please help

by raiwa » Mon Oct 18, 2021 7:05 pm

Please tell us always your exact Phoenix version and Addon version.
See also:
viewtopic.php?f=10&t=27

You do not mention the web hook. Did you setup it?
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
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Please help

by bigbrandoh » Mon Oct 18, 2021 7:16 pm

raiwa wrote:Please tell us always your exact Phoenix version and Addon version.
See also:
viewtopic.php?f=10&t=27

You do not mention the web hook. Did you setup it?
My Phoenix release is Phoenix 1.0.7.18 and I downloaded the add from here

app.php/addons/free_addon/stripe_payment_2/

I believe it's the version 1.3.2

Regarding the webhook, I etup something like that in my stripe but nowhere to add it to my shop. Is it something I have to add to shop? My webhook in stripe si like this:

http://mysite.com/ext/modules/payment/s ... ebhook.php
Last edited by bigbrandoh on Mon Oct 18, 2021 7:24 pm
bigbrandoh
Posts: 12
Joined: Mon Oct 18, 2021 6:07 pm
Contact:

Re: Please help

by bigbrandoh » Mon Oct 18, 2021 7:23 pm

I think the https:// is problem with my webhook. This shop does not have https.
bigbrandoh
Posts: 12
Joined: Mon Oct 18, 2021 6:07 pm
Contact:

Re: Please help

by raiwa » Mon Oct 18, 2021 7:30 pm

You do not need to add it to your shop. The url in stripe must point to the existing file, so this looks O.K.
But I believe https is required.
You probably need https/ secure certificate for all card payment modules. If your host doesn’t offer it for free, change your hosting.
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
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Please help

by bigbrandoh » Mon Oct 18, 2021 7:47 pm

raiwa wrote:You do not need to add it to your shop. The url in stripe must point to the existing file, so this looks O.K.
But I believe https is required.
You probably need https/ secure certificate for all card payment modules. If your host doesn’t offer it for free, change your hosting.
Thank you so much @riawa - You are the man!

I just added SSL, did a test payment and it works fine now except if payment fails it just stays on payment page with payment button highlighted with a message "Your card has insufficient funds" under it. It'd be nice to have that message in red - bold, I did not notice it until after looking at page for a while.
bigbrandoh
Posts: 12
Joined: Mon Oct 18, 2021 6:07 pm
Contact:

Re: Please help

by bigbrandoh » Mon Oct 18, 2021 9:10 pm

@raiwa Following your setup instructions, my payments are only authorized and not captured. How do I configure this to authorize and capture payments automatically? Going to do a manual capture is a pain.
bigbrandoh
Posts: 12
Joined: Mon Oct 18, 2021 6:07 pm
Contact:

Re: Please help

by raiwa » Mon Oct 18, 2021 11:58 pm

Explore the module settings:

Transaction Method
The processing method to use for each transaction.

Authorize
Capture

Set to capture
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
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact: