2014-09-11 126 views
0

是否有可能從完成的重複/引用交易ID獲取BillingAgreementID?從TransactionID獲取帳單協議ID

當我的客戶接受了結算協議並完成了交易時,我得到了情況,但BillingAgreementID並未收集在我的身邊。

回答

0

我不那麼可能,因爲我試圖在現有交易ID上調用GetTransactionDetails API,這是使用帳單協議完成的,但沒有得到帳單協議Id的回覆。下面是我的迴應:

NVP Response: 
RECEIVERBUSINESS=XXXXXXXX 
RECEIVEREMAIL=XXXXXXXXX 
RECEIVERID=XXXXXXXX 
EMAIL=XXXXXXXX 
PAYERID=XXXXXXXXX 
PAYERSTATUS=verified 
COUNTRYCODE=US 
ADDRESSOWNER=PayPal 
ADDRESSSTATUS=None 
SALESTAX=0.00 
SHIPAMOUNT=0.00 
SHIPHANDLEAMOUNT=0.00 
TIMESTAMP=2014-09-11T21:20:46Z 
CORRELATIONID=47f3e5bd2249 
ACK=Success 
VERSION=109.0 
BUILD=12786467 
FIRSTNAME=Eshan Personal Test 
LASTNAME=Account 
TRANSACTIONID=5YL30211NW355272S 
TRANSACTIONTYPE=merchtpmt 
PAYMENTTYPE=instant 
ORDERTIME=2014-09-11T20:49:58Z 
AMT=10.00 
FEEAMT=0.59 
TAXAMT=0.00 
CURRENCYCODE=USD 
PAYMENTSTATUS=Completed 
PENDINGREASON=None 
REASONCODE=None 
PROTECTIONELIGIBILITY=Ineligible 
PROTECTIONELIGIBILITYTYPE=None 
L_QTY0=1 
L_TAXAMT0=0.00 
L_CURRENCYCODE0=USD 
L_TAXABLE0=false 

,你唯一可以做的就是通過訪問您的定期付款信息中心獲取從您的PayPal帳戶中的結算協議ID。或者你可以直接去這個鏈接:

https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_merchant-hub