ruby-on-railscookiesspree-paypal-express

Cookies are turned off Secure Payments PayPal requires cookies to be turned on for many of its features.


I am trying to integrate Paypal express into my spree e-commerce application I proceed as follow: in Gemfile:

gem 'spree_paypal_express', github: 'spree-contrib/better_spree_paypal_express', branch: '2-4-stable'

and I run this command:

bundle install
bundle exec rails g spree_paypal_express:install

I got the paypall payment method in the backend configuration panel and I add my API credentials data (username, password and signature) I have the payPall button added to the other payment method but when i click it I got this error:

Please turn on cookies to check out

and cookies are activated in my chrome browser so why I got this??


Solution

  • I had the same issue as you and the solution here helped me out: PayPal Sandbox Error: Cookies are blocked

    To simplify:

    1. Login first your developer's account here: http://developer.paypal.com
    2. Open another tab and login your developer's merchant account here: https://paypalmanager.sandbox.paypal.com/apiAccess.do?subaction=api
    3. Open another tab again and do your express checkout process.