Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Paypal IPN payment option - limiting it to one specific country

    Hi

    In my store i want to allow paypal as an option for national orders BUT I don't want it to be available for international orders, and i can't see a way to do this

    Is it possible at all?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Paypal IPN payment option - limiting it to one specific country

    Try looking at the Modules ... Order Totals ... Low Order Fee ot_loworderfee and see how it distinguishes this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Paypal IPN payment option - limiting it to one specific country

    Hi Ajeh

    Could you possibly expand on that a bit
    I see a bit in the "ot_loworderfee" file that sorts national from international

    However I am a little lost as to how to make use of it

    I am probably going to explain this terribly but bear with me

    Currently my guess is that i should put some sort of switch/If statement on the classes/payments page when it calls the paypal option around line 28

    something along the lines of

    if ((payment_module_installed == 'paypal') && (delivery['country_id'] != STORE_COUNTRY)
    {}
    else
    {
    carry on with the rest of function
    }

    but that doesn't seem right, and i can't figure anywhere else to put it it

 

 

Similar Threads

  1. v139h PayPal IPN -PayPal does not allow your country of residence to ship to the country yo
    By nigelt74 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Aug 2012, 05:05 PM
  2. No Paypal IPN when country is not netherlands
    By BackuPs in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 14 Nov 2010, 02:27 PM
  3. Can you limit specific products to be sold in one country? (e.g. UK only)
    By PudzPud in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 25 Jul 2010, 04:53 PM
  4. No PayPal IPN Payment Option After Setup
    By mtrantas in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 30 Jan 2008, 08:07 PM
  5. Limiting Shipping Options Depending on Payment Option selected
    By zigzak in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Sep 2006, 06:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg