簡體   English   中英

自適應支付PayPal-Pay API操作沒有pdt數據

[英]Adaptive payments paypal -no pdt data for pay api operation

我正在使用自適應支付Paypal pay api操作來完成交易,並且我已經設置了ipn和return url.am,成功地從paypal獲取了ipn消息,但是沒有從paypal獲取到我的返回URL的pdt數據,並且不確定為什么沒有得到來自貝寶的數據,我在貝寶個人資料設置中打開了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.
                                );

付款數據傳輸(PDT)不適用於自適應付款。 PDT是僅適用於“付款標准”的東西。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM