close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problems setting up PayPal Sandbox

Thread began 3/19/2018 12:02 pm by s.joiner74419001 | Last modified 3/23/2018 10:35 pm by s.joiner74419001 | 879 views | 17 replies


Problems setting up PayPal Sandbox

I can not seem to get Sandbox testing working. It just directs straight to the failure page.

So far I have tried setting up new PayPal Sandbox test accounts, entered the new credentials in the gateway settings but with know success.

I have seen on other forum posts that there was an error in the eCart code notified by @Warrio on 6/14/2015 5:30pm.

which stated that the following line of code had to be changed

from: $WA_PP_ECO_Set_params[1][$nextIndex] = "".($WA_PayPal_PayPal_API_TestMode) ."";

to: $WA_PP_ECO_Set_params[1][$nextIndex] = "true";

I tried this change on both confirm.php and pp_confirm.php but still it directs to the failure page.

I dumped the session and the result is as follows:

array(11) { ["WAENCRYPTEDRETURNUSED"]=> bool(false) ["WAENCRYPTEDRETURNSUCCESS"]=> bool(false) ["rtm_application_Items"]=> string(262) "1|WAECART|rtm_application|WAECART|Right to Manage Online Application Form|WAECART||WAECART|0|WAECART|1|WAECART|150|WAECART|1000|WAECART|6|WAECART|3|WAECART|152147432825588538|WAECART|0|WAECART|483.33333333333|WAECART|1 rtm_application (1)|WAECART|333.33333333333" ["WAEC_ContinueRedirect"]=> string(86) "/registered-applications/consent-form.php?entryID=49&submission=No&fee=Unpaid&accID=35" ["eCart_PPECO_System"]=> string(2) "US" ["WA_BillingAgreements"]=> array(0) { } ["PayPal_ECO_Token"]=> string(0) "" ["ECO_Auth_Request"]=> string(1575) " to Manage Online Application Form483.3311Sale" ["ECO_Auth_Result"]=> string(0) "" ["WAVT_consentform_437_Errors"]=> string(0) "" ["consentID"]=> int(8) }

Not quite sure if this gives an indication to what the problem is..

I have zipped and attached all relevant pages.

The user is starts from the consent-form.php page and when they submit the form they're directed to the view-cart.php page and from there taken to PayPal.

Help please.
Thanks in advance.

Attached Files

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...