发送电子邮件给贝宝买家 [英] Send an e-mail to PayPal buyer

查看:1321
本文介绍了发送电子邮件给贝宝买家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在网站上介绍用于快速结帐的PayPal数字商品.对于已登录的用户,有效的签出将导致网站上该用户的个人资料中出现更新,从而可以访问更多内容.

I'm introducing PayPal Digital Goods for Express Checkout on a web site. For an user who is logged in, a valid checkout results in an update in the user's profile on the website, which in order allows to access more content.

所有者希望为尚未登录该网站的客户端添加支持.我们通过引入具有唯一URL的登录页面来处理此问题,用户在付款后将重定向到该页面,该页面可用于创建新帐户或将现有帐户标记为已付款.如果用户不想立即执行此操作,则着陆页的URL是永久的并且可以添加书签.

The owner wants to add support for clients which aren't yet logged in to the web site. We handled this by introducing a landing page with an unique URL, which the user is redirected to after payment and which can be used to create a new account or mark an existing account as paid. If the user doesn't want to do this immediately, the URL of the landing page is persistent and bookmarkable.

但是,如果客户端不想立即登录并且无法为其唯一链接添加书签,我们希望另外发送一封包含该链接的确认电子邮件.

However, in case the client doesn't want to log-in immediately and fails to bookmark their unique link, we'd want to additionally send a confirmation e-mail which would contain the link.

Paypal在购买后立即向买方发送收据电子邮件.我能以某种方式在该电子邮件中为客户端插入其他消息吗?

Paypal sends a receipt e-mail to the buyer right after purchase. Can I somehow insert additional message for the client in that e-mail?

如果没有,是否还有其他PayPal API功能可以让我向在PayPal注册的客户的电子邮件发送消息?

If not, is there any other PayPal API feature which would let me send a message to the client's e-mail registered with PayPal?

推荐答案

很遗憾,您将无法在Paypal发送的电子邮件中添加或修改内容.他们出于安全目的锁定这些类型的东西.

Unfortunately you won't be able add or modify the content in the email message sent by Paypal. They lock down those type of things for security purposes.

但是,一旦收到付款已完成的通知,您就可以发送自己的确认电子邮件.无论您使用的是PHP还是其他服务器端语言,您都应该能够从PayPal返回的变量中收集电子邮件地址,并使用 mail 功能发送自定义电子邮件.由于您为用户创建了一个自定义的着陆页,因此您只需从此处发送它即可.

However, you can send your own confirmation email once you receive notification that the payment has been completed. Whether you are using PHP or another server side language, you should be able to collect the email address from the variables returned by PayPal and send a custom email using the mail function. Since you create a custom landing page for the user, you can simply send it from here.

这篇关于发送电子邮件给贝宝买家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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