Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dumb Paypal sandbox question


skase98

Recommended Posts

Can the PayPal sandbox be used for a real (fake) transaction through my store site?

 

I've tried it a few times but every time I enter my fake person's sandbox email and password, the PayPal site says it's not valid.

 

I don't have any contributions installed - just the regular PayPal module. Am I missing some important step? The sandbox user guide looks like it is only able to process payments with buy now or their own store.

 

I searched the forums but came up with no answer to this question.

 

Many thanks!

Link to comment
Share on other sites

Can the PayPal sandbox be used for a real (fake) transaction through my store site?

 

I've tried it a few times but every time I enter my fake person's sandbox email and password, the PayPal site says it's not valid.

 

I don't have any contributions installed - just the regular PayPal module. Am I missing some important step? The sandbox user guide looks like it is only able to process payments with buy now or their own store.

 

I searched the forums but came up with no answer to this question.

 

Many thanks!

Link to comment
Share on other sites

Pardon the previous bad reply.

 

I had the same problem but a kind member suggested installing the Paypal IPN V1.1 module; and it worked. When you install this module it has options to automatically use the sandbox. Create yourself a sandbox and then dummy guest accounts that match the names and emails of the customers (dummy?) in your shop. In the sandbox also set up the dummy bank accounts and credit cards for these customers. Use only the US option for the bank account, other countries don't work.

When using the shop checkout you should be directed to the paypal dummy customers account and then be returned to the shop.

 

IPN doesn't allow direct credit card payment, i.e. when a real customer checks out Paypal makes it create a Paypal account before it will allow payment.

 

Hope this helps - Ray

Link to comment
Share on other sites

Thanks, Ray!

 

I'm a bit phobic about installing contributions because I tried once and screwed it up so badly I had to nuke my store and start over again. I was hoping I could happily sandbox away without a contrib but if it's not to be, I have to decide if I have enough courage to try a contrib again or if I just want to spend some money making payments to myself :lol:

 

I appreciate your idea!

Link to comment
Share on other sites

Hi again, Ray-

 

I installed the IPN 1.1 and nothing broke! (YEA!) But I still don't know how to point my store to the sandbox. When I make an order now, it goes to the actual live PayPal site and I seem to have missed or just can't find where the directions are to point to the sandbox instead.

 

Any ideas?

 

Thanks!

Link to comment
Share on other sites

i too had problems. my transactions went to the real paypal screen, not the one with the 'sandbox' branding.

i asked paypal dev forum and was suggested the following:

 

You will need to ensure that your buttons are pointing to the sandbox at www.sandbox.paypal.com instead of www.paypal.com

--

Eric L.

PayPal Developer Technical Support

 

i went in to change /includes/modules/payment/paypal, line 32:

 

$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

 

into:

 

$this->form_action_url = 'https://www.sandbox.paypal.com';

 

and got the sandbox environment.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...