使用Python向特定电子邮件付款

发布于 2025-01-25 17:04:12 字数 129 浏览 1 评论 0原文

需要在Python中编写一个脚本,并有可能将资金从一个PayPal帐户转移到另一个PayPal帐户。

输入参数:

  1. 发送者的电子邮件
  2. 传输金额的电子邮件

It is required to write a script in Python, with the help of which it will be possible to transfer funds from one PayPal account to another PayPal account.

input parameters:

  1. Sender's e-mail
  2. E-mail of the recipient
  3. transfer amount.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终止放荡 2025-02-01 17:04:12

对于PayPal结帐付款,发件人的电子邮件是由他们签名或以客人签名或支付的方式来确定的。该付款人的电子邮件不是在达到PayPal结帐之前的输入参数,尽管如果已经知道的话,您的系统可以预先填写一个付费参数,但以前的登录可能会优先。 (如果您需要从特定帐户汇款 付款人登录其发件人帐户,该帐户的所有者可以请求访问PayPal支出的访问,根据业务需求和用例,可能会或可能不会授予它。)。)

贝宝结帐付款将发送到指定的收件人电子邮件,在创建订单时(按按钮单击),在puphoy_units中设置付款对象

不需要用后端通过API创建和捕获订单的服务器集成,但是当然建议使用对API捕获响应的强大集成。 noflow noreferrer“> nof-python-sdk 可用于在您的服务器上实现两个路由(一个对于创建订单,一个用于捕获给定订单ID的订单。服务器“ rel =“ nofollow noreferrer”> https://developer.paypal.com/demo/checkout/patern/pattern/server 。

For PayPal Checkout payments, the sender's email is determined by what they sign into or pay as a guest with. That payer email is not an input parameter prior to their reaching the PayPal Checkout, although one can be pre-filled by your system if already known--but cookies from previous logins might take precedence. (If you need to send money from a specific account without a payer signing into their sender account, that account's owner could request access to PayPal Payouts, which may or may not be granted depending on the business need and use case.)

For such PayPal Checkout payments to be sent to a specified recipient email, set a payee object in the purchase_units when creating the order (which happens on button click).

A server integration to create and capture the order via API with a backend is not required, but certainly recommended for a robust integration that acts on the API capture response. The Checkout-Python-SDK can be used to implement two routes on your server (one for create order, and one for capturing a given order ID. The client-side approval flow to pair with those two server routes is https://developer.paypal.com/demo/checkout/#/pattern/server.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文