使用
Adaptive Payments API我使用API方法
Pay
获取了一个付费密钥,其中包含以下参数:
actionType: CREATE receiverList.receiver(0).email: ... receiverList.receiver(0).amount: 5 currencyCode: EUR cancelUrl: ... returnUrl: ... requestEnvelope.errorLanguage: en_US
然后我用这个URL启动了嵌入式支付流程:
https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey= …
灯箱再次关闭后,当我在付费键上调用PaymentDetails
方法时,它会给我(以及其他值):
paymentInfoList.paymentInfo(0).transactionStatus: COMPLETED status: COMPLETED actionType: CREATE
显然付款已经执行,但我还没有调用ExecutePay
方法.
actionType xs:string
(required) Whether the Pay request pays the receiver or whether the
Pay request is set up to create a payment request,but not fulfill the
payment until theExecutePayment
is called.Allowable values are:
[…]
CREATE
– Use this option to set up the payment instructions withSetPaymentOptions
and then execute the payment at a later time with
theExecutePayment
.
我错过了什么?