Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › Quick Guide To PayPal Sandbox Setup
Tagged: PayPal, PayPal sandbox, sandbox, Testing
- This topic has 18 replies, 11 voices, and was last updated 2 years, 7 months ago by admin.
-
AuthorPosts
-
November 15, 2010 at 8:48 pm #2235wzpModerator
If you are new to PayPal Sandbox then it is probably a good idea to read the following post first to get a good idea of PayPal sandbox before getting your hands dirty:
http://www.tipsandtricks-hq.com/playing-in-paypals-sandbox-2880
This topic is a quick guide to using PayPal Sandbox with eStore. It covers the following items:
1. Obtaining a PayPal Sandbox Account.
2. Creating Buyer & Seller Test Accounts
3. Configuring eStore For Sandbox Transactions
4. Making It Work
5. Caveats & Warnings
Obtaining a PayPal Sandbox account:
1. Create an account by clicking the “Sign Up Now” button.
2. Complete the sign up & verification process. WARNING: Do not use any of your regular PayPal primary or alternate e-mail addresses. Do not even use the same passwords as your “real” account.
This is to preserve the integrity of your “real” PayPal transactions, and to minimize the possibility of spoofing. In fact, the sandbox e-mail address shouldn’t even contain your site’s regular domain name. Use a Gmail or Yahoo address instead.
Creating Buyer & Seller Test Accounts:
1. Log into your sandbox account.
You will need 2 test accounts; one for the seller and one for the buyer.
Sandbox -> Home -> Test Accounts -> Create a preconfigured account.
2. Create 1 account each for the buyer and seller.
Under Sandbox -> Test Accounts you will see your newly created test accounts. The e-mail addresses are suffixed to create unique e-mail addresses.
Selecting an account and then clicking “Enter Sandbox Test Site” give you access to a sandbox version of PayPal, in which each of the test accounts can perform almost any function that can be performed in the real PayPal system.
Under Sandbox -> Test Email you can access the “virtual e-mail accounts” associated with your test accounts.
Configuring eStore For Sandbox Transactions:
1. WP eStore -> Settings -> General Settings -> Testing and Debugging Settings
a. Check “Enable Debug.”
b. Check “Enable Sandbox Testing.”
c. Save/Update the eStore settings.
2. Click “Reset Debug Log Files.”
3. WP eStore -> Settings -> Payment Gateway Settings -> PayPal Settings
a. Set “Paypal Email Address/Secure Merchant ID” to the e-mail address assigned to your “SELLER” test account, NOT YOUR SANDBOX LOGIN. You may copy/paste this information from the Sandbox -> Test Accounts page.
b. Save/Update the eStore settings.
Making It Work:
1. Open, and keep open, the following windows in your browser…
a. Window “A” to https://developer.paypal.com/
Log into your Sandbox account. This window must remain open.
b. Window “B” to your eStore site. Make sure you are logged out of your admin account.
2. In the “B” window, make a test purchase. When you are redirected to PayPal for checkout, use the e-mail address and password assigned to your “BUYER” test account.
3. After the transaction is complete, check the “A” window for any Test Emails sent to the buyer or seller test accounts.
Caveats & Warnings:
A. You must be logged into your sandbox account in order for test transactions to go through.
B. Anyone trying to make “real” purchases while the site is in sandbox mode will be disappointed.
C. Remember to undo the eStore changes after you are done testing.
D. If the “BUYER” account sets up any recurring payments (subscriptions) the sandbox will keep trying to send IPN, etc. to your site; long after you’ve forgotten about it! You must access the appropriate buyer/seller test accounts and “cancel” the recurring payments.
E. eStore does not differentiate between “real” and “test” transactions. Your accountant will have a fit, if he doesn’t know which transactions are real or pretend
November 16, 2010 at 1:46 am #26534amin007ParticipantNice… Moving this to the “eStore FAQ” section so it can stay as a reference.
July 23, 2011 at 10:24 pm #26535hghorbanianMemberGreat post WZP, this is what a good instruction should be….cheers
January 17, 2013 at 6:22 pm #26536wcandidoMemberI finally found this post and it’s GREAT ! Can you do something similar for the membership? The email used need to receive the membership confirmation and I cannot use the one !!
May 17, 2013 at 10:37 pm #26537debbyqMemberI am sorry but could you please just make the process easy?
May 17, 2013 at 11:28 pm #26538wzpModeratorThe moment I replace David Marcus as CEO of PayPal, this will be at the top of my To-Do list
At the moment setting up a PayPal sandbox account is not very trivial but this is something only PayPal can fix.
Seriously, the easiest way to test your eStore, if sandbox setup is too complicated for you, would be to price everything at 1 cent each and just run a test purchase.
This should be a good read for you:
June 10, 2013 at 1:28 am #26539sinebegMemberTrying to use the Sandbox and not getting further than the customer login.
WP using eStore Plugin and eStore receipt creator plugin
Following the instructions above up to Making It Work:
2. In the “B” window, make a test purchase. When you are redirected to PayPal for checkout, use the e-mail address and password assigned to your “BUYER” test account.
– I login to the buyer account – goes through the login process
– PP responds by asking me for Credit Card details
Can you give me an idea why? When created, I gave the test buyer a/c a balance sufficient to purchase the product.
Jay
June 10, 2013 at 11:53 pm #26540adminKeymasterHi Jay, Does PayPal ask you for credit card details for the checkout or for your account? If your sandbox account is not fully setup with credit card in the profile then you will need to complete that step first. Remember that you need to complete the setup for both the buyer and the seller account profile. The sandbox account needs to be fully setup before it can be used for a transaction.
June 11, 2013 at 2:09 am #26541sinebegMemberI logged in again and discovered my ‘buyer’ account did not have the attributes I had thought. It was showing a balance before! I deleted the account and recreated it and bingo, the process worked.
However, now I have another problem – the receipt creator did not produce a receipt. But I will start another topic elsewhere after some investigation.
Thank you so much for your time.
As a comment: Having used the PayPal Sandbox a few years ago, I find this new process totally confusing and poorly documented.
July 8, 2014 at 4:35 am #26542naikmMemberHello,
I was able to setup paypal sandbox and also did a transaction using test buyer accout and payment was successful. Also buyer received a notification of paypal transaction.
But I did not see thank you page which we configured in settings –> general and also seller did not get any notification.
The log files show that mail was sent to my email ( I have replaced with xxx ), But I did not see any mail
[07/08/2014 4:19 AM] – SUCCESS :Notify Email successfully sent to xx.xxxx@gmail.com.
[07/08/2014 4:19 AM] – SUCCESS :Updating Products, Customers, Coupons, Sales Database Tables with Sales Data.
And I also tried to send using live stuff, where I randomly picked some paypal address and put that in payment gatway and I made a transaction of 1 cent. Payment was successful but again no payment page neither mail to buyer. Please help
Please could you help me.
July 8, 2014 at 11:01 pm #26543adminKeymasterIt looks like the plugin is sending the email but it is getting blocked somewhere. Go through the following post which will help:
September 26, 2014 at 9:03 am #26544naikmMemberHello, My website is [http://amazing-webapp.net/] and I am using your plugin. The target url does not open to affiliate website. Could you let me know why.
Just go to above website and you will see below product “For more detail” button. Click it, it will open new window but will not open the website
Thanks
September 27, 2014 at 2:00 am #26545wpCommerceModerator@naikm, It looks like your target URL site is blocking data submission via form post. Please do the following:
1) Go to the eStore advanced settings (WP eStore -> Settings -> Advanced Settings)
2) Enable “Use Link for Button Redirection” option
Let me know how it goes.
September 30, 2014 at 6:12 am #26546naikmMemberHello,
I don’t see advanced settings. I have only settings button but there is no advanced settings tab. Please let me know what I missing.
Thanks
September 30, 2014 at 9:18 pm #26547wzpModerator“Advanced Settings” is a menu link, along the top of the “Settings” page.
-
AuthorPosts
- You must be logged in to reply to this topic.