close ad
 
Important WebAssist Announcement
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 9:02 am by s.joiner74419001 | Last modified 3/23/2018 7:35 pm by s.joiner74419001 | 2536 views | 17 replies

s.joiner74419001

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) "admin-seller_api1.gmail.com2M4W7NGLSB3DGA2SAFcWxV21C7fd0v3bYYYRCpSSRl31AAbS0JdviqLCGl89FuSG9c631VmM63.0http://www.rtm-conference.org.uk/registered-applications/pp_confirm.phphttp://www.rtm-conference.org.uk/registered-applications/view-cart.php?ppreturn=trueSoleBillingSale483.33483.33rtm_applicationRight 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
pages.zip

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

Content

rating

Layout

rating

Ease of use

rating

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...