首页 文章

适用于pay api操作的paypal -no pdt数据

提问于
浏览
1

我正在使用自适应支付paypal pay api操作来完成交易,我已经设置了ipn和return url.am成功从paypal获取ipn消息但没有从paypal获取pdt数据到我的返回URL并且我不确定为什么我没有得到来自paypal和我的数据在我的paypal配置文件设置中打开了pdt和自动返回

$PayRequestFields = array(
                                'ActionType' => 'PAY',                              // Required.  Whether the request pays the receiver or whether the request is set up to create a payment request, but not fulfill the payment until the ExecutePayment is called.  Values are:  PAY, CREATE, PAY_PRIMARY
                                'CancelURL' => site_url('paypal/adaptive_payments/pay_cancel'),                                     // Required.  The URL to which the sender's browser is redirected if the sender cancels the approval for the payment after logging in to paypal.com.  1024 char max.
                                'CurrencyCode' => 'USD',                                // Required.  3 character currency code.
                                'FeesPayer' => '',                                  // The payer of the fees.  Values are:  SENDER, PRIMARYRECEIVER, EACHRECEIVER, SECONDARYONLY
                                'IPNNotificationURL' => 'http://mysite.com/dev/wallet/ipn_update',                      // The URL to which you want all IPN messages for this payment to be sent.  1024 char max.
                                'Memo' => '',                                       // A note associated with the payment (text, not HTML).  1000 char max
                                'Pin' => '',                                        // The sener's personal id number, which was specified when the sender signed up for the preapproval
                                'PreapprovalKey' => '',                             // The key associated with a preapproval for this payment.  The preapproval is required if this is a preapproved payment.  
                                'ReturnURL' => 'http://mysite.prystino.com/dev/wallet/pdt_update',                                  // Required.  The URL to which the sener's browser is redirected after approvaing a payment on paypal.com.  1024 char max.
                                'ReverseAllParallelPaymentsOnError' => '',          // Whether to reverse paralel payments if an error occurs with a payment.  Values are:  TRUE, FALSE
                                'SenderEmail' => '',                                // Sender's email address.  127 char max.
                                'TrackingID' => ''                                  // Unique ID that you specify to track the payment.  127 char max.
                                );

1 回答

  • 2

    付款数据传输(PDT)不适用于自适应付款 . PDT仅适用于Payments Standard .

相关问题