Page 1 of 1

Shoping cart return from paypal **SOLVED**

Posted: Wed Feb 07, 2007 3:46 pm
by reecec
Hi,

I am doing some work for someone on a shoping cart:

He has this stucture:

Shipping info form -> save to db -> paypal payment (external) -> Return to merchant

once retured it checks payment if verified it sends customer an email and the merchant. Also sets payment status to "paid", otherwise failed and deletes them.

The Problem

Merchant reciving some payment emails not all (from script) offen just the paypal email. The admin panel for the shoping cart doesnt show some orders.

When I checked the main database in PHPmyad it shows some orders payment status as blank but the still has shipping details.

Heres my theory:


Shipping info being saved
Payment being made
but not returning to the merchant meaning status still blank and no email being sent
not showing in shoping cart control panel as it looks for "paid" status



Plan

Email before adding to the database letting merchant know payment should be made soon if not check manualy
Add a new link in Admin panel for unconfirmed payments checking "pending" status so merchant can manualy investigate and check paypal



Anyone Agree ?



Regards,

Reece

Posted: Thu Feb 08, 2007 12:43 am
by Christopher
Seems like you should be looking into why you are not receiving a response back from PayPal. Have you checked to see if there are possibilities for errors not being handled or things not being in the state you expect them to be?

Posted: Thu Feb 08, 2007 3:10 am
by reecec
Thanks for you reply,

No Paypal email gets sent just the script meaning user hasent come back from paypal