gpt4 book ai didi

paypal - 如何在 paypal 标准中自动获取授权的 PayPal 付款?

转载 作者:太空宇宙 更新时间:2023-11-03 16:02:54 29 4
gpt4 key购买 nike

我想实现 paypal 授权并自动获取付款。我用过 Paypal 标准账户。我已发送带有授权参数的付款请求。

<form:form commandName="paymentForm" id="paymentForm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="paypal">           
<form:input path="cmd" id="cmd" name="cmd" type="hidden" />
<form:input path="business" id="business" name="business" type="hidden" />
<form:input path="password" id="password" name="password" type="hidden" />
<form:input path="custom" id="custom" name="custom" type="hidden" />
<form:input path="item_name" id="item_name" name="item_name" type="hidden" />
<form:input path="amount" id="amount" name="amount" type="hidden" />
<form:input path="currencyCode" type="hidden" name="currency_code" value="EUR" />
<form:input path="rm" id="rm" name="rm" type="hidden" />
<%-- <form:input path="returnUrl" id="return" name="return" type="hidden" /> --%>
<form:input type="hidden" name="return" value="${paymentForm.returnUrl}" />
<form:input type="hidden" name="cancel_return" path="cancel_return" />
<form:input type="hidden" name="cert_id" path="certId" />
<form:input type="hidden" name="paymentaction" path="authorization">
</form:form>

现在我想通过使用交易 ID/授权 ID 向 paypal 发送 Http 请求来捕获付款。我怎样才能做到这一点?

提前致谢

K.Lakshmi 普里亚

最佳答案

您需要对 DoCapture 进行 API 调用 API call .如果您以前没有使用过 PayPal 的 API 调用,我建议您阅读 Getting Started guide

关于paypal - 如何在 paypal 标准中自动获取授权的 PayPal 付款?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18051524/

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