Migrating site to use the stand alone Express Checkout
I am migrating a website from using the PayPal Advanced method over to use the stand alone Express Checkout.
It turns out I have a copy of that site where I first set it up using Express Checkout, but I need to update the files. I tried rerunning the checkout wizard within that site but it timed out because I have so much custom code in the eCart file.
What I did was create a new site from scratch and did a comparison to see what had changed.
Most of it is pretty obvious to me but I had some questions.
Within the webassist/ directory:
I would assume that most of the files in the newly generated site, would be the correct files to use. I know that credentials are specific to each site and so are the email templates and style sheets, but other than that, can I just copy the other files over as a whole? Including paymentoptions.js?
In the WA_eCart/ directory:
PP_ECO_.php. Both the newly generated file and the older file have the same version number “$WA_PP_ECO_VersionNumber = "63.0”” but are different. Use the newest one?
The pp_confirm.php file:
In the pp_confirm.php file, the “$PPVals =“ is different on the newly generated file. Which should I use?
$PPVals = isset($_SESSION["WASF_CheckoutWizard_Compact_Default"])?$_SESSION["WASF_CheckoutWizard_Compact_Default"]:array();
Old file just has…
$PPVals = array();
I know the session would be named differently since it's based on the style used but should I include that ternary operator for the correct session?