close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

persist form / paypal values

Thread began 2/04/2016 7:41 am by CraigR | Last modified 2/04/2016 6:28 pm by Ray Borduin | 219 views | 4 replies |

CraigRBeta Tester

persist form / paypal values

I have a checkout process created with ecart 6, with 2 payment gateways set up, (PP ECO and UK BACs)

Both payment gateways are working fine, but with ECO (only), some of the persist field values from my checkout form are not being transferred, so my orders table is missing information, as is my email confirmation.

My checkout form is called CheckoutWizard_Cool_Default and other field names are retrieved ok,


eg WA_getSavedFormValue('CheckoutWizard_Cool_Default','First_Name')

I did a var dump of my checkout success, below is the dump (missing account info of course)

array(34) { 
["WAENCRYPTEDRETURNUSED"]=> bool(false)
["WAENCRYPTEDRETURNSUCCESS"]=> bool(false)
["eventtype"]=> string(0) "..."
["emailentered"]=> string(27) "..."
["transactiontype"]=> string(11) "eventticket"
["contactfirstname"]=> string(5) "Craig"
["contactlastname"]=> string(9) "Rushforth"
["contactemail"]=> string(27) "..."
["contactcompanyname"]=> string(0) ""
["ticketgroup"]=> string(1) "4"
["emailvalid"]=> bool(true)
["WAVT_bookevents_919_Errors"]=> string(0) ""

["WASF_CheckoutWizard_Cool_Default"]=> array(21)
{
["Company"]=> string(0) ""
["First_Name"]=> string(5) "Craig"
["Last_Name"]=> string(9) "Rushforth"
["Address_1"]=> string(23) "Newton Barn Church Road"
["Address_2"]=> string(10) "Old Newton"
["City"]=> string(10) "Stowmarket"
["State"]=> string(7) "Suffolk"
["Postal_Code"]=> string(8) "IP14 4PH"
["Country"]=> string(2) "GB"
["Phone_Number"]=> string(0) ""
["Email_Address"]=> string(23) "xxx"
["First_Name_2"]=> string(5) "Craig"
["Last_Name_2"]=> string(9) "Rushforth"
["Address_1_2"]=> string(23) "Newton Barn Church Road"
["Address_2_2"]=> string(10) "Old Newton"
["City_2"]=> string(10) "Stowmarket"
["State_2"]=> string(7) "Suffolk"
["Postal_Code_2"]=> string(8) "IP14 4PH"
["Country_2"]=> string(2) "GB"
["Phone_Number_2"]=> string(0) ""
["Email_Address_2"]=> string(23) "xxx"
}
["WAVT_confirmcart_Errors"]=> string(0) ""
["WASF_WA_Payments"]=> array(8) {
["Company_Name"]=> string(15) "Company Name PP"
["First_Name"]=> string(5) "Craig"
["Last_Name"]=> string(9) "Rushforth"
["Email_Address"]=> string(27) "xxx"
["Delegate_Names"]=> string(5) "craig"
["Country"]=> string(2) "GB"
["CheckoutWizard_submit"]=> string(20) "Pay with Card/Paypal"
["PHPSESSID"]=> string(32) "xxx" }
["eCart_PPECO_System"]=> string(2) "US"
["ECO_Auth_Request"]=> string(1453) ""...""
["ECO_Auth_Result"]=> string(1792) "...""
["ECO_Get_Result"]=> string(5767) "..."
["ECO_Process_Request"]=> string(1368) "..."
["ECO_Process_Result"]=> string(3122) "..."
["waue_pp_confirm_1_Status"]=> string(7) "Success"
["waue_pp_confirm_1_Index"]=> int(1)
["waue_pp_confirm_1_From"]=> string(38) " "
["waue_pp_confirm_1_To"]=> string(23) ""
["waue_pp_confirm_1_Subject"]=> string(31) "Event Booking Confirmation"
["waue_pp_confirm_1_Body"]=> string(3775) "



the value I want are Delegate_Names and Company_Name, which appear in the [WASF_WA_Payments] array, but I can't find the array when i do a search

Sign in to reply to this post

Ray BorduinWebAssist

Can I see a copy of your pp_confirm.php page. I think I can find the problem there.

Sign in to reply to this post

CraigRBeta Tester

thanks Ray

pp_confirm.php attached

Attached Files
pp_confirm.php
Sign in to reply to this post

Ray BorduinWebAssist

Update line 35 to:

$PPVals = $_SESSION["WASF_CheckoutWizard_Cool_Default"];

Sign in to reply to this post

CraigRBeta Tester

thanks Ray,

I will try that.

Sign in to reply to this post

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