Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-26-2014 07:23:53

Graham
Member
Registered: 09-30-2004
Posts: 979
Website

Paypal Sandbox

I want to check that Paypal is working ok on my site before I go live, but although I've created a Sandbox account in PP I can't log in with it and when I try PP's guest checkout option it rejects the test card details it gives.

Can anyone please let me know what I should be doing?

Offline

 

#2 04-26-2014 12:39:21

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Paypal Sandbox

You would have to edit the paypal script in ccp to point to the sand box account, the code would be located in the "From Dispaly Code" for the paypal script:

Code:

// +--
// | Set up the olpform array.
// +--

$olpform = array('url'    => 'https://www.paypal.com/cgi-bin/webscr',
                 'button' => 'Continue',
                 'fields' => array());

John

Offline

 

#3 04-28-2014 04:36:54

Graham
Member
Registered: 09-30-2004
Posts: 979
Website

Re: Paypal Sandbox

Thanks for that.

For anyone else reading this, what I did to set up the Paypal Sandbox account was to go to http://developer.paypal.com/ and create a test account, then modify the Form Code for the Paypal (Standard) method I was using in System Dashboard > Store > Commerce > Processing Gateways by adding sandbox to the url:

Code:

// +--
// | Set up the olpform array.
// +--

$olpform = array('url'    => 'https://www.sandbox.paypal.com/cgi-bin/webscr',
                 'button' => 'Continue',
                 'fields' => array());

Offline

 

Board footer