仅在完成贝宝付款后才收到表格 [英] Receive form only if Paypal payment is complete

查看:107
本文介绍了仅在完成贝宝付款后才收到表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种仅在Paypal上完成付款后才能通过电子邮件接收表格结果的方法.

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

我的购物车旁边有一个表格. 我希望人们填写表格,然后他们可以在购物车中浏览. 一旦他们点击购物车中的结帐",他们就会在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.

当该人填写他的信用卡信息时,请单击在Paypal上继续",然后单击"...". 付款完成后,将提交他在我的网站上填写的表格. 但是,如果他决定关闭Paypal窗口并停止购物,我将不会收到.

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.

我需要您的帮助. 我不确定要使用此语言需要哪种语言. 我猜是PHP和Javascript.

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.

推荐答案

签出IPN(即时付款通知).

Check out the IPN (Instant Payment Notification).

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

付款后,它将向您的服务器发送一条消息,听起来像您要找的东西.您可以使用PHP编写侦听器,并且它们提供示例代码.

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.

这篇关于仅在完成贝宝付款后才收到表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆