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.