PayPal - DoExpressCheckoutPayment - Validation issue

大城市里の小女人 提交于 2020-01-25 03:49:48

问题


For Every PaypPal interaction we Do: 1.SetExpressCheckoutReq 2.GetExpressCheckoutDetailsReq 3.DoExpressCheckOutPaymentReq

I do create a billing agreement first and only on scheduled/subsequent orders we use this billing agreement for reference transaction.

Our Issue is:

  1. With a new PayPal account (testpaypal@abc.com) DoExpressCheckoutPaymentReq failed for CITY = SuttonsBay, with the address validation error “10736” (Shipping Address Invalid City State Postal Code) for a user (USER A). And this was corrected in the subsequent request as Suttons bay.

  2. But the same PayPal account(testpaypal@abc.com ) used for the second time with a different user (USER B) on the site, DoExpressCheckoutPaymentReq call succeeds for the wrong CITY = SuttonsBay and allows us to complete the order.

It is to be noted that on all scheduled order of the user, we use the DoReferenceTransactionReq, which has strict validation and this fails every time, esp. for the second scenario described above.

I would like to know why there are inconsistencies in Shipping address validation for DoExpressCheckoutPayment. It is because of this difference that our scheduled orders fails (as described in scenario 2 that allows incorrect address)

Do we any way to have strict Validation in DoExpressChecOutPayment - which solves our purpose?

来源:https://stackoverflow.com/questions/25066046/paypal-doexpresscheckoutpayment-validation-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!