Hi Jason, before I added those 2 bindings, I did notice the gateway had 3 options (not 2 that you stated) they were: PayPal Direct Payment, PayPal Authorize Express Checkout and PayPal Process Express Checkout) - Im assuming you meant the *last* 2 options there.
Also before I added these binding groups to my failure.php file I had noticed that there was already a binding group called "Payer Profile from PayPal Express Checkout" - wouldnt this binding group be all that I need rather then adding the 2 binding groups you mentioned - or do they contain totally different information?
I did do a test where I used the defaut binding group already in my failure.php page - the test I carried out involved logging in as a customer, adding an item to my shopping cart then going to checkout, filling in the address details etc and then clicking on the paypal submit button...then on the paypal page I just hand typed in the URL for the failure.php page so that I can see what the email sends me most of the information was blank except:
Error Code: 0
Token: EC-9N717583L8617631C
Payer Status: unverified
Address Status: None
Address Name: Double Print Bookmark
Full Request:
sam_api1.dinkyfingerprint.co.uk6WZ24J8NVCERRA62AUc6cmHJT8hKHAPbBxLj.obnwEEqANATUhuVaR6LjuwCqH.ogBdmXIQ863.0EC-9N717583L8617631C
Full Response:
2012-08-08T00:01:49ZSuccessfd8da2633f07963.03386080EC-9N717583L8617631Cunverified
PayPalNone
80.0073.007.000.000.00PayPalNoneDouble Print Bookmark6010.0073.000.000.00falsePaymentActionNotInitiated
Then it contained my session variables I set for the email on the failure.php page which includes my full postal address, email address and phone number.
So has any of the above shed any light to understanding more on how a customer would get to the failure page? I did note that for the ADDRESS NAME it contained information for the product item i had in the cart which I found was a bit odd.
obviously most orders go through, so i cant see how that would cause errors. Even Ray kindly performed an order test himself and he stated that was successful.
I know I cheated in my test by going to the failure page directly after paypal page but obviously I cannot reproduce the problem that some customers are getting. (I have left it so that if a realtime customer does get an error I will be automatically informed via an email with all the above information.
also i do sometimes get an order failure email where there are NO customer address details or email address or phone number etc which would suggest that the session variables arnt being set therefore arnt being passed onto the email template i created on the failure page. so that would suggest the error ALSO happens before the paypal page i assume.
any thoughts on what I have given?
Chris