Please note: This forum is now closed. All the support related enquiries should be reported on wordpress support forum for jigoshop plugin – thanks, Jigoshop Team

Paypal PRO option not showing up

snowball_ii's Avatar

snowball_ii

07 Feb, 2012 02:15 PM

Hi,
I bought the Paypal PRO Plugin and installed it successfully.
I got API credential from Paypal and configured the plugin.
I am also using forced SSL redirection.
But the Paypal PRO option doesn't show up at all in the list.
What am I doing wrong?
The website is here: https://www.sportzilla.ch
Thanks for any help you may provide!

  1. 2 Posted by schlingsi on 02 Mar, 2012 12:03 AM

    schlingsi's Avatar

    Same problem here.

    when both paypal standard and paypal pro are activated users always get re-directed to paypal upon payment.

    when I deactivate paypal standard, paying via paypal is not even shown as an option on the checkout page.

    Any ideas what might be going on there?

    Cheers

  2. 3 Posted by schlingsi on 09 Mar, 2012 03:46 AM

    schlingsi's Avatar

    no love?

  3. 4 Posted by Matt on 09 Mar, 2012 04:33 AM

    Matt's Avatar

    Do you have your plugin as wp-content/plugins/jigoshop ?

  4. 5 Posted by schlingsi on 09 Mar, 2012 07:21 AM

    schlingsi's Avatar

    Yes.

    wp-content/plugins/jigoshop/
    wp-content/plugins/jigoshop-paypal-pro/
    wp-content/plugins/jigoshop-table-rate-shipping/

  5. 6 Posted by snowball_ii on 09 Mar, 2012 08:25 AM

    snowball_ii's Avatar

    Debugging the paypal_pro.php file turned out that:
    - the country detection has some sort of bug. $this->get_country_code() returns 'NO' when I have only one country ('CH') available in the billing address countries dropdown and the 'send to same address' checked (sorry, may not be the exact wording, I'm using it in German).

    • I found this in the code:
        private $avaiable_countries = array(
            'GB' => array(
                'Visa',
                'MasterCard',
                'Maestro',
                'Solo'
            ),
            'US' => array(
                'Visa',
                'MasterCard',
                'Discover',
                'AmEx'
            ),
            'CA' => array(
                'Visa',
                'MasterCard'
            )
        );
      

    which means that if you're not in GB, US, CA, you're out of luck and the PayPal Pro thing doesn't show up at all. Is this supposed to work like this? The plugin gets to decide if your country is supported by PayPal Pro.

    Anyway, since I'm sure Switzerland IS supported by PayPal Pro, I tried with a quick hack and changed

            return isset($this->avaiable_countries[$selectedCountry]);
    

    to

            return true;
    

    This way, the payment box always shows up if the payment is active.
    Mind you, this is not a solution to the problem, just a quick hack.

  6. 7 Posted by schlingsi on 13 Mar, 2012 02:16 AM

    schlingsi's Avatar

    Interesting... that plugin probably needs an update then no? Paypal supports a lot more countries than those 3.

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac