Hello, I offer some free products with free shipping. This leaves the total at checkout to 0.00 but Stripe does not like this and throws an error when you click proceed to checkout. It says something about value must be 1 or greater than 1 (>1).
This is understandable as my checkout value is 0.00 so I was wondering if you will consider updating addon to not attempt to process a payment but just save order in admin as orders at checkout do anyway. Is this something you'll kindly consider?
Stripe Payment
Stripe Handling Zero Value Orders - Stripe Payment
-
- Posts: 37
- Joined: Tue Oct 26, 2021 5:33 pm
- Contact:
Re: Stripe Handling Zero Value Orders
Maybe you should address it with an alternative payment module showing instead of Stripe. Something like COD with a renamed title to something like "Free Order". Stripe is intended to be used to pay something.
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
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1184
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Stripe Handling Zero Value Orders
Thank you. How would I implement your suggestion? Phoenix does not seem to have a COD module in admin.raiwa wrote:Maybe you should address it with an alternative payment module showing instead of Stripe. Something like COD with a renamed title to something like "Free Order". Stripe is intended to be used to pay something.
-
- Posts: 37
- Joined: Tue Oct 26, 2021 5:33 pm
- Contact:
Re: Stripe Handling Zero Value Orders
COD Title in Admin: Cash on Delivery, it's in core, just install it.
FIlename: cod.php
Then you can enable/disable the modules with something like:
and:
Just have a look into the cod module how it is done for virtual orders.
FIlename: cod.php
Then you can enable/disable the modules with something like:
Code: Select all
if ($GLOBALS['order']->info['total'] > 0) {
Code: Select all
if ($GLOBALS['order']->info['total'] == 0) {
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
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1184
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Stripe Handling Zero Value Orders
Forgot to say that it would be better to use copies of the modules and add your modifications there.
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
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1184
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact: