Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

Melisa

Paypal sandbox not working - help......

9 posts in this topic

Please someone help me....

 

I'm trying to test the shopping cart by signing up at paypal sandbox. I have 2 accounts at sandbox and then I enter the one of the email address into my paypal payment module hopeing that I will see the "virtual money" listed into the other account that i have with sandbox.

 

But when i finalalized the purchased and pretending to be customer who has a paypal account and put in my login name and password that i have from the sandbox account, paypal is telling me that the account doesn't exist.

 

What did I do wrong?

 

if i want to finalized the pruchase as customer who doesn't have a paypal account, do i have to put in my real creditcard number?

 

Any suggestions is appreciated.

 

regards,

Melisa

Share this post


Link to post
Share on other sites

You do not need to put in your credit card details! The sandbox isn't that easy to use, but just make sure:

 

1) that you are logged into your Sandbox Account (the main account where you can set up new fake accounts etc.)

 

2) that your site is switched to the sandbox URL and that your email address is for the fake sandbox business account

 

3) when you buy stuff, you should end up on the fake sandbox paypal page and be able to log in with your other fake sandbox account details

 

If you still have issues, please also confirm which PayPal module you are using as each PayPal module is different.

 

all the best, Terra

Share this post


Link to post
Share on other sites

Thanks for the quick reply.

 

I will give that a shot.

 

BTW, the module I'm using is the standard paypal payment not the PAYPAL IPN module.

 

does this make any different?

 

I accidently use my real paypal account but I canceled the payment. not sure if they took my money from that account. VERY SCARY !!!!!!

 

 

Thanks

melisa

 

 

You do not need to put in your credit card details! The sandbox isn't that easy to use, but just make sure:

 

1) that you are logged into your Sandbox Account (the main account where you can set up new fake accounts etc.)

 

2) that your site is switched to the sandbox URL and that your email address is for the fake sandbox business account

 

3) when you buy stuff, you should end up on the fake sandbox paypal page and be able to log in with your other fake sandbox account details

 

If you still have issues, please also confirm which PayPal module you are using as each PayPal module is different.

 

all the best, Terra

Share this post


Link to post
Share on other sites
BTW, the module I'm using is the standard paypal payment not the PAYPAL IPN module. does this make any different?

BIG difference! the standard paypal is not set up for test mode, so you just go the normal paypal page! which means, it'll never work ...

 

BUT - You can do a modification to test. Open /includes/modules/payment/paypal.php and find this code:

 

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

 

replace with this code:

 

	  // for a live site use this:
 // $this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

  // for testing purposes use this:
  $this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';

 

If you want to go live, just change the comments (//) - these comments have the same effect as deleting the code. Just don't forget to make this switch or your customers will all go to the sandbox!

 

so just to clarify, once you go live, you need to change the code to look like this:

 

	  // for a live site use this:
 $this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

  // for testing purposes use this:
  // $this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';

 

And in your shop backend you need to switch between the fake sandbox email and your real paypal account email.

 

For a live site, I'd also recommend testing the live PayPal checkout at least once - you can always refund yourself (Paypal allows you to refund customers - just follow their instructions, it's quite easy). I'm a big fan of testing - saves a lot of hassle later on!

 

All the best, Terra

Share this post


Link to post
Share on other sites

Thank for the tips.

 

Yes, I got it working but now I have a problem in displaying the detail of items has been bought from the shop. if i bought 2, it shows me only 1 item.

 

I have read it somewhere that the paypal IPN will fix this, but when I tried I get this message:

 

"The recipient of this shopping cart link is not an approved shopping cart user. Please review your selection and try again."

 

what did I do wrong?

how do I set up the paypal IPN module to work?

Would it make any difference if the initial installation option of OSC is going to use secure transaction or not?

 

Thanks

Melisa

 

 

BIG difference! the standard paypal is not set up for test mode, so you just go the normal paypal page! which means, it'll never work ...

 

BUT - You can do a modification to test. Open /includes/modules/payment/paypal.php and find this code:

 

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

 

replace with this code:

 

	  // for a live site use this:
 // $this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

  // for testing purposes use this:
  $this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';

 

If you want to go live, just change the comments (//) - these comments have the same effect as deleting the code. Just don't forget to make this switch or your customers will all go to the sandbox!

 

so just to clarify, once you go live, you need to change the code to look like this:

 

	  // for a live site use this:
 $this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';

  // for testing purposes use this:
  // $this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';

 

And in your shop backend you need to switch between the fake sandbox email and your real paypal account email.

 

For a live site, I'd also recommend testing the live PayPal checkout at least once - you can always refund yourself (Paypal allows you to refund customers - just follow their instructions, it's quite easy). I'm a big fan of testing - saves a lot of hassle later on!

 

All the best, Terra

Share this post


Link to post
Share on other sites

Hi Terra,

I have the same problem as Melissa about the can't login problem with my Sandbox account !

I created 2 sandbox acount. a personal and a premier.

So in the Admin panel i put my premier account email.

I replaced the paypal standard code payment with the one you gave for tests.

Now, when i'm checking out, the page opens saying:To access the PayPal Sandbox, please log in to PayPal Developer Central. !!!

What did i do wrong you think ?

 

I'm trying to sell digital downloads only.

I need to offer a download link to my client as soon he filled the payment.

What are to procedure ? it"s my first time selling stuff on the internet and i'm really confuse ! :-(

Pleas help me !

 

Thank you

Jack

Share this post


Link to post
Share on other sites
Hi Terra,

I have the same problem as Melissa about the can't login problem with my Sandbox account !

I created 2 sandbox acount. a personal and a premier.

So in the Admin panel i put my premier account email.

I replaced the paypal standard code payment with the one you gave for tests.

Now, when i'm checking out, the page opens saying:To access the PayPal Sandbox, please log in to PayPal Developer Central. !!!

What did i do wrong you think ?

 

I'm trying to sell digital downloads only.

I need to offer a download link to my client as soon he filled the payment.

What are to procedure ? it"s my first time selling stuff on the internet and i'm really confuse ! :-(

Pleas help me !

 

Thank you

Jack

Share this post


Link to post
Share on other sites
I have the same problem as Melissa about the can't login problem with my Sandbox account !

I created 2 sandbox acount. a personal and a premier.

So in the Admin panel i put my premier account email.

I replaced the paypal standard code payment with the one you gave for tests.

Now, when i'm checking out, the page opens saying:To access the PayPal Sandbox, please log in to PayPal Developer Central. !!!

In order to test with sandbox, you need to have your Paypal sandbox account open - this is what the error message is telling you. So before you test - open another browser window, go to PayPal sandbox and log in. Then start your testing and you should be fine.

 

I'm trying to sell digital downloads only.

I need to offer a download link to my client as soon he filled the payment.

What are to procedure ? it"s my first time selling stuff on the internet and i'm really confuse ! :-(

My advice is use the search function on this forum to read up about advise on selling downloads - a lot of questions have been asked before, and if you use the the main search function (top of window next to Forum Rules) you should find more info.

 

Terra

Share this post


Link to post
Share on other sites