Christopher Short Posted November 14, 2021 Share Posted November 14, 2021 Request Sent (cURL) - https://api.paypal.com/v2/checkout/orders/{"intent":"AUTHORIZE","purchase_units":[{"reference_id":"618ff5ce42d4f","items":[{"name":"TeleGPS V20","unit_amount":{"value":"200","currency_code":"USD"},"quantity":1,"sku":"1525","category":"PHYSICAL_GOODS"},{"name":"Easy Mini","unit_amount":{"value":"80","currency_code":"USD"},"quantity":2,"sku":"1491","category":"PHYSICAL_GOODS"},{"name":"Telemega","unit_amount":{"value":"400","currency_code":"USD"},"quantity":1,"sku":"1483","category":"PHYSICAL_GOODS"},{"name":"850 mAh Battery","unit_amount":{"value":"10","currency_code":"USD"},"quantity":4,"sku":"1567","category":"PHYSICAL_GOODS"},{"name":"EasyTimer","unit_amount":{"value":"80","currency_code":"USD"},"quantity":1,"sku":"2855","category":"PHYSICAL_GOODS"},{"name":"LipoCharger","unit_amount":{"value":"25","currency_code":"USD"},"quantity":1,"sku":"1618","category":"PHYSICAL_GOODS"},{"name":"Standoffs","unit_amount":{"value":"1.99","currency_code":"USD"},"quantity":4,"sku":"82","category":"PHYSICAL_GOODS"}],"amount":{"currency_code":"USD","value":"988.40","breakdown":{"item_total":{"value":"912.96","currency_code":"USD"},"shipping":{"value":"8.8","currency_code":"USD"},"tax_total":{"value":"66.64","currency_code":"USD"},"discount":{"value":"0","currency_code":"USD"}}},"shipping":{"name": Response received (201 - Created){"id":"14390039XM575653H","intent":"AUTHORIZE","status":"CREATED","purchase_units":[{"reference_id":"618ff5ce42d4f","amount":{"currency_code":"USD","value":"988.40","breakdown":{"item_total":{"currency_code":"USD","value":"912.96"},"shipping":{"currency_code":"USD","value":"8.80"},"tax_total":{"currency_code":"USD","value":"66.64"},"discount":{"currency_code":"USD","value":"0.00"}}},"payee":{"email_address":"sXXXXXXXX:"Payment for order 211113-122845-7296","invoice_id":"211113-122845-7296","items":[{"name":"TeleGPS V20","unit_amount":{"currency_code":"USD","value":"200.00"},"quantity":"1","sku":"1525","category":"PHYSICAL_GOODS"},{"name":"Easy Mini","unit_amount":{"currency_code":"USD","value":"80.00"},"quantity":"2","sku":"1491","category":"PHYSICAL_GOODS"},{"name":"Telemega","unit_amount":{"currency_code":"USD","value":"400.00"},"quantity":"1","sku":"1483","category":"PHYSICAL_GOODS"},{"name":"850 mAh Battery","unit_amount":{"currency_code":"USD","value":"10.00"},"quantity":"4","sku":"1567","category":"PHYSICAL_GOODS"},{"name":"EasyTimer","unit_amount":{"currency_code":"USD","value":"80.00"},"quantity":"1","sku":"2855","category":"PHYSICAL_GOODS"},{"name":"LipoCharger","unit_amount":{"currency_code":"USD","value":"25.00"},"quantity":"1","sku":"1618","category":"PHYSICAL_GOODS"},{"name":"Standoffs","unit_amount":{"currency_code":"USD","value":"1.99"},"quantity":"4","sku":"82","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"XXXXX,"country_code":"US"}},"create_time":"2021-11-13T17:46:51Z","links":[{"href":"https://api.paypal.com/v2/checkout/orders/XXX","rel":"self","method":"GET"},{"href":"https://www.paypal.com/checkoutnow?token=XXXX","rel":"approve","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/XXXX","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/1XXXX/authorize","rel":"authorize","method":"POST"}]} This order calculated sales tax at $66.64 however it should be $73.04( 8%). It looks like it only use the price of 1 item and not multiples if the same item was bought. Ideas? Link to comment Share on other sites More sharing options...
bsmither Posted November 14, 2021 Share Posted November 14, 2021 The math suggests an item that has a cost of 80 is not being taxed. I disagree that CubeCart may have an error that will only tax one of a quantity of an item (such as the Easy Mini - 1491). I see that the item EasyTimer - 2855 has a cost of 80, and there is a quantity of one in the order. Please verify that item 2855 is taxable at 8%. (I also note that shipping costs are not taxed.) Link to comment Share on other sites More sharing options...
Christopher Short Posted November 14, 2021 Author Share Posted November 14, 2021 17 minutes ago, bsmither said: The math suggests an item that has a cost of 80 is not being taxed. I disagree that CubeCart may have an error that will only tax one of a quantity of an item (such as the Easy Mini - 1491). I see that the item EasyTimer - 2855 has a cost of 80, and there is a quantity of one in the order. Please verify that item 2855 is taxable at 8%. (I also note that shipping costs are not taxed.) All products show tax set as standard tax rate, which is 8% Link to comment Share on other sites More sharing options...
bsmither Posted November 14, 2021 Share Posted November 14, 2021 Determine if the customer for this order is a member of any "group". Then, determine if the EasyTimer - 2855 have any "group" pricing for that group - specifically looking at the customer's group(s)? You can check this by clicking the drop-down selector - currently showing "Retail" - and selecting another option. Hmm... According to your screen grab, there is only one tax rule for only one tax class. But there might be more tax classes for which there are no rules made for it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.