开发者

PHP Paypal DoDirectPayment Method

开发者 https://www.devze.com 2022-12-20 19:20 出处:网络
Im getting this response from paypal and don\'t know how to work with it: \"The totals of the cart item amounts do not match order amounts\".

Im getting this response from paypal and don't know how to work with it:

"The totals of the cart item amounts do not match order amounts".

These are the values Im passing, though just examples:

  • $_POST["AMT"] = 41.95
  • $_POST["SHIPPINGAMT"] = 19.95
  • $_POST["NETAMT"] = 22

Not sure if the values have something to do with the problem. I supplied all of the required fields according to the API 开发者_运维技巧and Im using the DoDirectPayment method.

Any thoughts? Thanks.


Maybe this could fix your problem. I believe paypal requires you to have two digits after the decimal point so your netamt should be 22.00

0

精彩评论

暂无评论...
验证码 换一张
取 消