使用
Adaptive Payments API我使用API方法
https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey= … @H_404_4@灯箱再次关闭后,当我在付费键上调用
Pay
获取了一个付费密钥,其中包含以下参数:
actionType: CREATE receiverList.receiver(0).email: ... receiverList.receiver(0).amount: 5 currencyCode: EUR cancelUrl: ... returnUrl: ... requestEnvelope.errorLanguage: en_US@H_404_4@然后我用这个URL启动了嵌入式支付流程:
https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey= … @H_404_4@灯箱再次关闭后,当我在付费键上调用
PaymentDetails
方法时,它会给我(以及其他值):
paymentInfoList.paymentInfo(0).transactionStatus: COMPLETED status: COMPLETED actionType: CREATE@H_404_4@显然付款已经执行,但我还没有调用
ExecutePay
方法.
@H_404_4@docs状态(在“PayRequest字段”主题下):
@H_404_4@actionType xs:string @H_404_4@(required) Whether the Pay request pays the receiver or whether the@H_404_4@我错过了什么?
Pay request is set up to create a payment request,but not fulfill the
payment until theExecutePayment
is called. @H_404_4@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
.