- Posts: 29
- Thank you received: 0
require payment method even for free items
15 years 1 month ago #24049
by sepyh
require payment method even for free items was created by sepyh
Hi,
I plan to offer a 14 day trial of my software and I want to require the customer to enter credit card. I see you added "Add to cart button for free items" which helped, but then i realised theres obviously no payment method. Any way to hack this?
Thanks.
I plan to offer a 14 day trial of my software and I want to require the customer to enter credit card. I see you added "Add to cart button for free items" which helped, but then i realised theres obviously no payment method. Any way to hack this?
Thanks.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #24051
by nicolas
Replied by nicolas on topic Re: require payment method even for free items
Hi,
There are checks a bit everywhere for not displaying payment methods when the order amount is 0 as most payment gateways do not accept transactions for 0.
So the modifications won't be easy. You can search for conditions on prices[0]->price_value_with_tax but that should yield a lot of places, related or not to that...
What you might want to consider:
not have payment plugins
use the custom fields of the table "order" (business edition) to ask for the credit card information on the checkout. The information will then be stored in the order on the back end.
The cons : it's not a secure way of storing credit card information.
The pros: it's really easy to do as there is no code modification.
There are checks a bit everywhere for not displaying payment methods when the order amount is 0 as most payment gateways do not accept transactions for 0.
So the modifications won't be easy. You can search for conditions on prices[0]->price_value_with_tax but that should yield a lot of places, related or not to that...
What you might want to consider:
not have payment plugins
use the custom fields of the table "order" (business edition) to ask for the credit card information on the checkout. The information will then be stored in the order on the back end.
The cons : it's not a secure way of storing credit card information.
The pros: it's really easy to do as there is no code modification.
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago #25083
by sepyh
Replied by sepyh on topic Re: require payment method even for free items
thanks nic
Please Log in or Create an account to join the conversation.
Time to create page: 0.257 seconds