thanks for the answer. I have done that but sometimes if they are using PayPal through Facebook browser it doesn’t send them back no matter what. Is there any solution to this? Can I get the payment id out before the startpayment () is called so that I can save information that I will call on payment update