PDA

View Full Version : eCart and IPN


te_araroa319945
03-19-2009, 02:16 PM
Hi,
getting an odd problem with IPN..have used the eCart Checkout Form Response under the Bindings tab in DW CS3 to make IPN variables available. Have bound them to an HTML email (universal email)that's automatically sent to me upon a users return to my site after visiting pay pal.When I receive the email i get all the variables back such as ipn status, buyer name and email, all the items that were ordered. BUT all the address variables such as address_street,address_city etc come back 'undefined'. Probably missing something obvious but any help would be greatly appreciated.
Colin

Ray Borduin
03-19-2009, 02:20 PM
There is a hidden form element on the confirm page for shipping. I think it needs to be set to 1 or 2 in order to have paypal pass shipping information back.

te_araroa319945
03-20-2009, 11:27 AM
Hi Ray,
Do you mean this -
no_shipping
Prompt buyer for shipping address. Allowed values are:
0: (default) buyer is prompted to include a shipping address.
1: buyer is not asked for a shipping address
2: buyer must provide a shipping address

as i believe this will ask for the users address at the pay pay end, but on my site the user already enters their address as part of the checkout process.Don't want them doing then same thing twice.
Could it be this?

rm
“Return method”: FORM METHOD used to send data to the URL
specified by the return variable after payment completion.
Allowed values are:
0: (default) all shopping cart transactions use the GET method
1: the buyer’s browser is redirected to the return URL by the
GET method, and no transaction variables are sent
2: The buyer’s browser is redirected to the return URL by the
POST method, and all transaction variables are also posted

thanks
Colin

Ray Borduin
03-20-2009, 11:38 AM
you could put all of the shipping information into the "custom" hidden form element and it will be passed back to you.

te_araroa319945
03-31-2009, 12:08 PM
thanks ray that works fine now!