- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
When a product based discount is applied to an order, the [PAYMENTREQUEST_0_AMT] value in the API request is incorrect because the discount value is applied to it twice.
Example error request where [PAYMENTREQUEST_0_AMT] should be 31.46
[METHOD] => SetExpressCheckout
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_AMT] => 17.97
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[PAYMENTREQUEST_0_INVNUM] => #####
[RETURNURL] => https://....
[CANCELURL] => https://.....
[L_PAYMENTREQUEST_0_NAME0] => Product title
[L_PAYMENTREQUEST_0_AMT0] => 31.47
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_NUMBER0] => 11182015
[L_PAYMENTREQUEST_0_NAME1] => Fixed amount discount
[L_PAYMENTREQUEST_0_AMT1] => -13.49
[L_PAYMENTREQUEST_0_QTY1] => 1
[L_PAYMENTREQUEST_0_NUMBER1] =>
[PAYMENTREQUEST_0_ITEMAMT] => 17.97
[PAYMENTREQUEST_0_TAXAMT] => 0.00
[PAYMENTREQUEST_0_SHIPTONAME] =>
[PAYMENTREQUEST_0_SHIPTOSTREET] =>
[PAYMENTREQUEST_0_SHIPTOSTREET2] =>
[PAYMENTREQUEST_0_SHIPTOCITY] =>
[PAYMENTREQUEST_0_SHIPTOSTATE] =>
[PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE] => US
[PAYMENTREQUEST_0_SHIPTOZIP] =>
[NOSHIPPING] => 1
Closed: outdated
2.0
PayPal EC
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.