-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify payment gateway configuration #16
Comments
I've pushed another commit to PR #21 to address the test parameter. It now sends 'true' or 'false'. |
I have clarified this with Ryan and basically we would like : 1 - The 2 - The Test Mode UI be removed from the UI. Josh, are we able to make this change thanks; moving the issue back to the backlog. |
I have pushed a commit to PR #21 to address this feedback. |
This is now resolved and Oxidocs has been updated. |
Issue
Merchants are incorrectly assuming that setting the test mode flag will toggle the production and sandbox payment gateway URLs.
Current state
Among other things, we currently capture the following details as part of Oxipay plugin configuration:
The system will always use the production payment gateway URL if and when it is assigned. The system will only use the sandbox URL if the production URL is not set. Merchants could also force the plugin to use the sandbox URL by explicitly assigned this value to the production payment gateway URL. Requests to both the production & sandbox payment gateway URLs can specify a test mode flag. This flags the transaction on the Oxipay side as a test transaction such that no credit-card deposit will be processed and no direct-debits will be set up.
Target state
We would like a single payment gateway URL and a test mode flag. If the merchant wants to point their website at the production payment gateway they’d configure the payment gateway URL to be a production URL. If they want to point their website at an integration/sandbox URL, they’d configure the payment gateway URL to be a sandbox URL. We would like to keep the test mode flag, because a) our request API is based on Shopify, which has a test flag, and b) we use this flag to decide whether to do a credit-card deposit (note: sandbox environment is pointing at TEST bank APIs) and initial setup of the direct debits.
The text was updated successfully, but these errors were encountered: