close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Billing Information not showing on pp_confirm

Thread began 7/29/2013 12:20 am by Jon Cunningham | Last modified 7/29/2013 8:14 am by Jason Byrnes | 432 views | 1 replies |

Jon CunninghamBeta Tester

Billing Information not showing on pp_confirm

Good morning guys.

I have checked the forums and have not found a complete resolution to my issue.

I am using PayPal Express.

On going through the checkout process and being returned to the pp_confirm page, the billing information is not being outputted to the confirm page.

When clicking Checkout at this point the order goes through and is stored in the db but lacks the customers details.

It would be great if someone could look at my pages and see if there is an obvious error.

Kind regards

Jonathon

Attached Files
ecart_pages.zip
Sign in to reply to this post

Jason ByrnesWebAssist

couple things wrong.

1) with express checkout, the billing and shipping details are returned to the pp_confirm page by the PayPal Express Checkout Get Payer Profile behavior.

the code for the get Payor profile behavior is at line 598 - 603, this comes after the code to set the session variables at lines which starts at line 68.

the get payor profile code needs to comer before the sessions are created.

2) For a number of the sessions, you are using the current page submit and form variable:

if(($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$_SESSION["eCartCheckoutForm_state_province"] = "".((isset($_POST["state_province"]))?$_POST["state_province"]:"") ."";
}
?>

there is no post from paypal, so these sessions wont work.

for others, they are properly set to use the paypal payor profile details, for example:
<?php


if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_phone"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Phone") ."";
}
?>

those ones will work.

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