Jump to content

[SOLVED]$20 for Prestashop 1.3 and higher payment module modification


Recommended Posts

Problem SOLVED, thank you so much to shokinro , great job. ;-)




Hi guys,

i need some help to modify payment modules. I offer $20usd for modification. Pay via Paypal.

What i am looking for:
If will be add product in to cart with some Reference code starting with words (for example: ABC), then after click on checkout system show only payment option for bank transfer and paypal. Cash on delivery or another payment option will be hidden.
If someone add product with Ref. code and one without Ref. code, checkout show only payment option for product with Ref. code.

Idea:
Maybe the best way to do this is to edit the payment modules, and in the hookPayment function, add a check to see if any of the products with Reference code starting with words (for example: ABC) are in the cart, if they are, then return without loading the payment method (Cash on delivery).

I hope that the offer is ok for corresponding work done.
Thank you
Petan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...