Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm looking for a way to receive a form result by email only if the payment has been completed on Paypal.

I have a form next to my shopping cart. I want people to fill the form, then they can browse in the shopping cart. Once they click on "Checkout" in the shopping cart, they are redirected on Paypal. The form I talked before is still on hold...not sent yet.

When the guy fills his credit card information, click Proceed on Paypal, and THEN... When the payment is complete, the form he filled on my website will be submited. But if he decide to close the paypal window and stop shopping, I won't receive it.

I need your help guys/girls. I'm not sure what language I need to make this work. I'm guessing PHP and Javascript.

Thanks a lot, This function is very important for us.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
161 views
Welcome To Ask or Share your Answers For Others

1 Answer

Check out the IPN (Instant Payment Notification).

https://www.paypal.com/ipn/

It will send a message to your server after a payment has been made, sounds like what you are looking for. You can write the listener in PHP and they provide example code.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...