How to Implement External Tax Calculation Webhook if Tax Depends on Payment Method?
(Doc ID 2904313.1)
Last updated on MARCH 27, 2023
Applies to:
Oracle Commerce Cloud Service - Version 22.3.1 and laterInformation in this document applies to any platform.
Goal
How to implement external tax calculation webhook if the tax amount depends on payment method? There are following two issues in this scenario:
1. Timing
Normally tax is calculated before payment method is selected. Since the tax depends on payment method, the actual tax can only be calculated after payment method is selected.
2. Pass payment method to external tax calculation webhook
According to this webhook's doc at https://docs.oracle.com/en/cloud/saas/cx-commerce/22c/cxocc/op-ccadmin-v1-webhook-externaltaxcalculation-post.html, payment info is not passed to this webhook.
This article will describe the solution for the above issues.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |