gpt4 book ai didi

paypal - 如何查看 PayPal Invoice API 发送的示例电子邮件

转载 作者:太空宇宙 更新时间:2023-11-03 15:47:34 27 4
gpt4 key购买 nike

我正在尝试检查 paypal 发票在向付款人发送电子邮件时的样子,但是,api 似乎没有发送电子邮件。在 api 响应中,有一个发票 Url,我能够看到它,但它需要付款人登录。 API 是否向付款人的电子邮箱发送电子邮件?

enter image description here

最佳答案

来自 PayPal Invoice API 文档:

To use the Invoicing API to request payment, you start by making one of the Invoicing API calls to PayPal. Your customer receives the invoice via email and clicks on an included link to view the invoice on PayPal's website. Customers who have a PayPal account can log into their PayPal accounts to pay the invoice. Customers can also pay using a check, debit, or credit card. (https://developer.paypal.com/docs/classic/invoicing/gs_Invoicing/)

只要来自 API 的 JSON 响应中的“ack”字段显示“success”的值,买家就会发送一封电子邮件。他或她必须单击链接并登录才能完成付款。

示例 JSON 响应:

{
"responseEnvelope": {
"timestamp": "2011-06-16T:12:30.861-07:00",
"ack": "Success",
"correlationId": "78733df04b1f0",
"build": "1942837"
},
"invoiceID": "INV2-C4AK-UU3J-5SCL-9KZY",
"invoiceNumber": "1192",
"invoiceURL": "invoiceURL"
}

所以你的问题的答案是

关于paypal - 如何查看 PayPal Invoice API 发送的示例电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20793631/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com