Post by OpenCode » Fri Sep 29, 2017 5:38 am

Hi Guys!

is there an easy way to disable PayPal Pro if the Billing address and Shipping Address are not the same, I found a lot of post of disable shipping method or the payment method, but i haven't find the one that disable a payment method (restricted) if the billing address and shipping address do not match = not the same differ from billing address.
any help on this is highly appreciated...

Thank You
OC 1.5.6.4

New member

Posts

Joined
Fri Jun 07, 2013 9:31 am

Post by yodapt » Fri Sep 29, 2017 7:08 am

Each payment method has a code, you just have to compare the addresses after their input, if they match or not, and then exclude PayPal Pro from the list of payment methods available in the respective step (all this should be achieved within the method that returns such list).

So ... no, there isnt an easy (straightfoward) way.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by OpenCode » Fri Sep 29, 2017 7:36 am

@ yodapt.
Thank you for you response but this why we are asking for help, but I know you gone said we don't need help we need someone to do it for us. correct?

anybody else?
can post the code to do it like before old times OC when everybody used to help...

Thank you.

New member

Posts

Joined
Fri Jun 07, 2013 9:31 am
Who is online

Users browsing this forum: No registered users and 224 guests