如何使用ExpressCheckout为PayPal定期付款设置IPN URL? [英] How to set an IPN URL for PayPal Recurring Payments using ExpressCheckout?
问题描述
根据PayPal文档,使用ExpressCheckout时无法获得即时付款的即时付款通知(IPN
).
According to the PayPal documentation, it is not possible to have Instant Payment Notifications (IPN
) for Recurring Payments when using ExpressCheckout.
这就是我得出这个结论的方式:
Here is how I come up with that conclusion:
-
在
SetExpressCheckout
文档中>他们说:
In the
SetExpressCheckout
documenation forNOTIFYURL
they say:
通知URL仅适用于
DoExpressCheckoutPayment
.在SetExpressCheckout
或GetExpressCheckoutDetails
中设置时,将忽略此值.
The notify URL applies only to
DoExpressCheckoutPayment
. This value is ignored when set inSetExpressCheckout
orGetExpressCheckoutDetails
.
我没有使用ExpressCheckout一次性付款.我只是在创建一个定期个人资料.因此,我跳过了DoExpressCheckoutPayment
调用,就像在中指定的一样Recurring Payments integration guide
.实际上,如果我执行DoExpressCheckoutPayment
调用,那将是无效的,因为我已将金额设置为0
.
I don't have a one-time payment with ExpressCheckout. I am just creating a recurring profile. So I am skipping the DoExpressCheckoutPayment
call like it is specified in the Recurring Payments integration guide
. Actually if I however do the DoExpressCheckoutPayment
call it would not be valid, because I have set the amount to 0
.
根据1.
,除非调用DoExpressCheckoutPayment
,否则将忽略NOTIFYURL
(准确地说是PAYMENTREQUEST_0_NOTIFYURL
).但是,我尝试在SetExpressCheckoutPayment
调用中进行设置.
According to 1.
the NOTIFYURL
(to be precise PAYMENTREQUEST_0_NOTIFYURL
) would be ignored unless a DoExpressCheckoutPayment
is called. However I have tried to set it in the SetExpressCheckoutPayment
call.
使用IPN模拟器,我已成功接收IPN通知.
Using the IPN simulator I am successfully receiving IPN notifications.
使用 CreateRecurringPaymentsProfile
我没有收到IPN通知.
When successfully creating a new Recurring Payments profile using CreateRecurringPaymentsProfile
I am not receiving an IPN notification.
我没有找到与可用于设置NOTIFYURL
的定期付款相关的API调用.
I did not find an API call related to the Recurring Payments which I can use to set a NOTIFYURL
.
如何在没有初始付款,INITAMT
或其他要求DoExpressCheckoutPayment
的情况下使用ExpressCheckout为重复付款设置IPN URL?
How can I set up an IPN URL for Recurring Payments using ExpressCheckout without an initial payment, INITAMT
or other requiring DoExpressCheckoutPayment
?
推荐答案
您可以在个人资料下的PayPal帐户中设置IPN URL.
You can set the IPN URL in your PayPal account, under your profile.
这篇关于如何使用ExpressCheckout为PayPal定期付款设置IPN URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!