[英]Paypal API, IPN message is not received
with the help of this script, I'm trying to integrate the payment chained https://github.com/paypal/adaptivepayments-sdk-php PHP SDK for integrating with PayPal's APIs AdaptivePayments 在此脚本的帮助下,我正在尝试将付款链接https://github.com/paypal/adaptivepayments-sdk-php PHP SDK集成在一起,以与PayPal的api AdaptivePayments集成
I am still at the beginning, payment chained in sandbox works but my listnerIPN.php not receive any notification from PayPal IPN which can be the cause? 我仍处于起步阶段,沙盒中的付款方式可以使用,但是我的listnerIPN.php没有收到来自PayPal IPN的任何通知,这可能是原因吗?
this is the print of curl request body params: 这是curl请求正文参数的打印:
requestEnvelope.errorLanguage=en_US&actionType=PAY&cancelUrl=http%3A%2F%2Fshoppaz.com%3A80%2Ftest%2Fadaptivepayments-sdk-php-master%2Fsamples%2FPay.php¤cyCode=EUR&feesPayer=SENDER&ipnNotificationUrl=http%3A%2F%2Fshoppaz.com%2Ftest%2Fadaptivepayments-sdk-php-master%2Fsamples%2FIPN%2FIPNListener.php&receiverList.receiver(0).amount=1.0&receiverList.receiver(0).email=biagiopas-business%40yahoo.it&receiverList.receiver(0).primary=false&receiverList.receiver(1).amount=1.0&receiverList.receiver(1).email=abiagiopas-business%40yahoo.it&receiverList.receiver(1).primary=false&receiverList.receiver(2).amount=1.0&receiverList.receiver(2).email=bbiagiopas-business%40yahoo.it&receiverList.receiver(2).primary=false&reverseAllParallelPaymentsOnError=false&returnUrl=http%3A%2F%2Fshoppaz.com%3A80%2Ftest%2Fadaptivepayments-sdk-php-master%2Fsamples%2FWebflowReturnPage.php requestEnvelope.errorLanguage = EN_US&操作类型= PAY&cancelUrl = HTTP%3A%2F%2Fshoppaz.com%3A80%2Ftest%2Fadaptivepayments-SDK-PHP-主%2Fsamples%2FPay.php&CURRENCYCODE = EUR&feesPayer = SENDER&ipnNotificationUrl = HTTP%3A%2F%2Fshoppaz.com% 2Ftest%2Fadaptivepayments-SDK-PHP-主%2Fsamples%2FIPN%2FIPNListener.php&receiverList.receiver(0).amount = 1.0&receiverList.receiver(0)= .email biagiopas业务%40yahoo.it&receiverList.receiver(0)= .primary假receiverList.receiver(1).amount = 1.0&receiverList.receiver(1).email = abiagiopas业务%40yahoo.it&receiverList.receiver(1).primary =假receiverList.receiver(2).amount = 1.0&receiverList.receiver(2) .email = bbiagiopas业务%40yahoo.it&receiverList.receiver(2).primary =假reverseAllParallelPaymentsOnError =假RETURNURL = HTTP%3A%2F%2Fshoppaz.com%3A80%2Ftest%2Fadaptivepayments-SDK-PHP-主%2Fsamples%2FWebflowReturnPage.php
&ipnNotificationUrl
is set &ipnNotificationUrl
已设置
Click Profile
on the My Account tab
. 单击My Account tab
上的Profile
。
Click Instant Payment Notification Preferences
in the Selling Preferences
column. 单击“ Selling Preferences
列中的Selling Preferences
Instant Payment Notification Preferences
Selling Preferences
。
Click Choose IPN Settings
to specify your listener's URL and activate the listener. 单击Choose IPN Settings
以指定您的侦听器的URL并激活该侦听器。 The following screen appears: 出现以下屏幕:
Notification URL field
. 在“ Notification URL field
为您的侦听器指定Notification URL field
。 Receive IPN messages (Enabled)
to enable your listener. 单击Receive IPN messages (Enabled)
以启用您的侦听器。 Save
. 点击Save
。 The following screen appears: 出现以下屏幕: Back to Profile Summary
to return to the Profile after activating your listener. 激活您的侦听器后,单击“ Back to Profile Summary
以返回到概要。 You also can click Edit settings to modify your notification URL or disable your listener. 您还可以单击“编辑设置”来修改通知URL或禁用监听器。 You can click Turn Off IPN to reset your IPN preferences. 您可以单击“关闭IPN”以重置IPN首选项。 You can specify an IPN listener for a specific payment; 您可以为特定的付款指定IPN监听器; this is the only way to receive IPNs associated with Adaptive Payments. 这是接收与自适应支付相关的IPN的唯一方法。 In this case, PayPal sends the IPN message to the listener specified in the notification URL for a specific button or API operation instead of the listener specified in your Profile. 在这种情况下,贝宝(PayPal)会将IPN消息发送到特定按钮或API操作的通知URL中指定的侦听器,而不是配置文件中指定的侦听器。
To specify a notification URL For a/an : 为a / an指定通知URL:
PayPal Payments Standard button: 贝宝付款标准按钮:
notify_url
HTML form variable notify_url
HTML表单变量
NVP API operation: NVP API操作:
NOTIFYURL
field of the DoDirectPayment
, DoExpressCheckoutPayment
, or DoReferenceTransaction
request. NOTIFYURL
所述的场DoDirectPayment
, DoExpressCheckoutPayment
,或DoReferenceTransaction
请求。
SOAP API operation: SOAP API操作:
NotifyURL
field of the DoDirectPayment
, DoExpressCheckoutPayment
, or DoReferenceTransaction
request. NotifyURL
所述的场DoDirectPayment
, DoExpressCheckoutPayment
,或DoReferenceTransaction
请求。
Adaptive Payments API operation: 自适应支付API操作:
ipnNotificationUrl
field of the Pay
or Preapproval
request Pay
或Preapproval
请求的ipnNotificationUrl
字段
Source: 资源:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.