$1,000,000 PayPal (Sandbox) question

Does anyone know how to quickly and easily redirect purchases from PayPal live to PayPal Sandbox?

Tried changing values of many of the PayPal settings (below) in the Payment  administration module, clearing cache, creating new products, logging out, logging in, etc. but no luck.

Active:
Mode:
Business:
Process type:
Connection type:
Identity token:
Sandbox:
Data return URL:

Does anyone know how this is done?

Are purchases directed to PayPal Sandbox based on the values when the item was created or the current values

Thanks in advance

Quote · 13 Mar 2011

Think I figured this out.

Two things need to be in place to switch between PayPal Sandbox (test) and PayPal live:

  1. PayPal settings need to be correct for the PayPal version used
  2. PalPal settings need to be set for the proper payment cart (store purchases vs memberships)

1. PayPal settings need to be correct for the PayPal version used

a. PayPal settings used for PayPal Sandbox:

Active: checked
Mode:                          test
Business: <PayPal account email address>
Process type: IPN
Connection type: HTML
Identity token:
Sandbox: <PayPal Sandbox account email address>
Data return URL: http://yoursite.com/m/payment/act_finalize_checkout/paypal/1

b. PayPal settings used for PayPal live

Active: checked
Mode:                          live
Business: <PayPal account email address>
Process type: IPN
Connection type: HTML
Identity token:
Sandbox:
Data return URL: http://yoursite.com/m/payment/act_finalize_checkout/paypal/1

Note: these settings worked for me, they may not work for you.

2. PalPal settings need to be set for the proper payment cart

This is the tricky part, haven't seen it spelled out anywhere, at least not clearly, and it makes all the difference.

There are two types of carts in Dolphin - one for memberships, one for store products. From what I can tell, there is only one membership cart sitewide. Data return URL for the membership cart in Payment Settings (above) ends with /m/payment/act_finalize_checkout/paypal/0.

There can be many store carts, one for each user, if each user wants to create a store. The Data return URL in Settings for store carts ends with /m/payment/act_finalize_checkout/paypal/1 where the number after final slash /n (e.g.,  /1 /2, /323) corresponds to the User ID of the store owner.

If there is only one store for the entire site, the Data return URL value should normally be  /m/payment/act_finalize_checkout/paypal/1 unless this has been changed.

What's critical is where the Payment Settings for each cart are found for modification.

  • For the membership cart, payment settings are found in Admin -> Modules -> Payment -> Payment Details -> PayPal (see first attached image)
  • For each store cart, payment settings are found in Profile -> Payments -> Payment Details -> Settings -> PayPal (see second attached image)

My biggest problems working with this was

  1. not understanding there were two different types of carts, and
  2. not knowing payment settings for store carts are modified on the profile of the admin user.

Modifying payment settings via the admin panel only applies to the membership cart.

In my opinion, and not wanting to take an unfair shot at Boonex, the design of this module and its documentation/communication leaves much to be desired. No reason to spend hours trying to figure out something as essential as this. Good design & documentation makes for more productive develioers & happier customers.

Quote · 14 Mar 2011

have you created your sales page paypal?
configure your paypal account in the preparation?


for the PayPal Sandbox, it will be used by you for testing, purchase, sale, donation, this is not essential but very important to see before you start, do you create a sandbox paypal account? https://developer.paypal.com/


here is some info

https://www.paypal.com/us/cgi-bin/helpweb?cmd=_help

https://ppmts.custhelp.com/app/answers/list

https://developer.paypal.com/cgi-bin/devscr?cmd=_sandbox-acct-session

https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run

Quote · 14 Mar 2011

 

have you created your sales page paypal?
configure your paypal account in the preparation?


for the PayPal Sandbox, it will be used by you for testing, purchase, sale, donation, this is not essential but very important to see before you start, do you create a sandbox paypal account? https://developer.paypal.com/


here is some info

https://www.paypal.com/us/cgi-bin/helpweb?cmd=_help

https://ppmts.custhelp.com/app/answers/list

https://developer.paypal.com/cgi-bin/devscr?cmd=_sandbox-acct-session

https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run

I have & you're right, it's very important. As the other half of this process, it also must be correct, otherwise things don't work as expected.

Though PayPal has lots of Sandbox documentation, using Sandbox is a bit confusing as well, since not only are you dealing with your PayPal Sandbox account, you're also creating & configuring test accounts within this account which will be used to conduct the transactions.

Quote · 14 Mar 2011

I followed the instruction from hpsiorg below and finally got this to work. Biggest problem.  Not know I had to make changes in the admin profile to add store payments.

Quote · 15 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.