Jump to content



- - - - -

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


This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1   Melisa

Melisa
  • Members
  • 50 posts

Posted 12 April 2006 - 10:55 PM

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

#2   Terra

Terra
  • Members
  • 893 posts

Posted 12 April 2006 - 11:06 PM

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
My code for combining PayPal IPN with ** QTPro 4.25 **  osC Affiliate ** CCGV(trad)  
and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

#3   Melisa

Melisa
  • Members
  • 50 posts

Posted 12 April 2006 - 11:12 PM

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


View PostTerra, on Apr 13 2006, 09:06 AM, said:

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


#4   Terra

Terra
  • Members
  • 893 posts

Posted 12 April 2006 - 11:23 PM

View PostMelisa, on Apr 13 2006, 12:12 AM, said:

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

Edited by Terra, 12 April 2006 - 11:26 PM.

My code for combining PayPal IPN with ** QTPro 4.25 **  osC Affiliate ** CCGV(trad)  
and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

#5   Melisa

Melisa
  • Members
  • 50 posts

Posted 13 April 2006 - 12:45 PM

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


View PostTerra, on Apr 13 2006, 09:23 AM, said:

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


#6   jackville

jackville
  • Members
  • 9 posts

Posted 14 April 2006 - 09:03 PM

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

#7   jackville

jackville
  • Members
  • 9 posts

Posted 14 April 2006 - 09:11 PM

View Postjackville, on Apr 14 2006, 05:03 PM, said:

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


#8   jackville

jackville
  • Members
  • 9 posts

Posted 14 April 2006 - 09:20 PM

I'M REALLY SORRY FOR THE DOUBLE POST HERE !

#9   Terra

Terra
  • Members
  • 893 posts

Posted 14 April 2006 - 11:07 PM

View Postjackville, on Apr 14 2006, 10:03 PM, said:

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.

Quote

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
My code for combining PayPal IPN with ** QTPro 4.25 **  osC Affiliate ** CCGV(trad)  
and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **