close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Ecart 6 PayPal Express Checkout

Thread began 8/04/2014 12:45 pm by Me | Last modified 8/06/2014 5:08 pm by Jason Byrnes | 1015 views | 5 replies |

Me

Ecart 6 PayPal Express Checkout

After implementing the (standalone) PayPal Express Checkout. I know that on the return to the merchant website (after the user signs in to PayPal and clicks continue) We can grab the delivery details for use in shipping the order to the correct address. However, I cannot see a way of collecting the Payers details which may be different, for example, the shipping may be different to the billing. We can send the goods then to the shipping address, but if we want to send billing documentation to the buyer (the buyer address)...how do we do this then if they are different addresses? We seem only to be able to get the shipping address?

Sign in to reply to this post

Jason ByrnesWebAssist

open the bindings panel, there should be a binding group for Get Payer profile for Paypal express checkout, this binding group will contain bindings for the address that should be the billing address.

Sign in to reply to this post

Me

Originally Said By: Jason Byrnes
  open the bindings panel, there should be a binding group for Get Payer profile for Paypal express checkout, this binding group will contain bindings for the address that should be the billing address.  
Sign in to reply to this post

Jason ByrnesWebAssist

are you using eCart 6?

if so, try using this code for the billing info:

<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Name"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street1"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street2"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->CityName"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->StateOrProvince"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->PostalCode"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Country"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Phone"); ?>

Sign in to reply to this post

Me

[QUOTE=177874;Jason Byrnes]are you using eCart 6?

if so, try using this code for the billing info:

<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Name"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street1"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Street2"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->CityName"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->StateOrProvince"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->PostalCode"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Country"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "PayerInfo->Phone"); ?>

if so, try using this code for the shipping info:

<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Name"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Street1"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Street2"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->CityName"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->StateOrProvince"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->PostalCode"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Country"); ?>
<?php echo WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "ShipToAddress->Phone"); ?>

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

Jason ByrnesWebAssist

looking through paypals documentation:

https://developer.paypal.com/docs/classic/api/merchant/GetTransactionDetails_API_Operation_NVP/


The wont send the billing address with the response. they only send the shipping address.

if you look at the linked page, there is the section for payer email, and payer name, the address fields section lists only shipping address fields.

So you will be able to get the payers email address, but not their physical address.

The only physical address returned by paypal is the shipping address.

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