Overview ↑ Back to Top
Accept credit card payments on your WooCommerce shop with Ogone. Payment transactions take place on Ogone’s secure servers, meaning your site never handles sensitive credit card data, and your customer’s payment information is secure. This document will show you how to setup and configure the extension to work with your Ogone account.
Installation ↑ Back to Top
- Download the extension from your dashboard
- Go to Plugins > Add New > Upload and select the ZIP file you just downloaded
- Click Install Now, and then Activate
- Go to WooCommerce > Settings > Checkout and read the next section to learn how to setup and configure the plugin.
Setup and Configuration ↑ Back to Top
To configure the plugin to accept payments, you’ll first need to log into and configure your Ogone account. Note that there are two back offices, one that you log into with a test account, and the other that you log into with a live account:
- Test Backoffice: https://secure.ogone.com/ncol/test/backoffice/
- Live Backoffice: https://secure.ogone.com/ncol/prod/backoffice/container/
After logging in, follow these steps:
- Go to Configuration > Technical Information > Global Security Parameters and set the Hash algorithm to SHA-256. Then scroll to the bottom of the page and hit “Save”.
- Go to Configuration > Technical Information > Data and Origin Verification and enter the base URL of your WooCommerce site, i.e. http://www.example.com (if your site uses SSL on the checkout page then don’t forget to include HTTPS in the url: https://www.example.com). On that same page, enter a SHA-IN pass phrase of your choosing. Then scroll to the bottom of the page and hit “Save”.
- Go to Configuration > Technical Information > Transaction Feedback and ensure the box is checked “I would like to receive transaction feedback parameters on the redirection URLs.”:
- Further down on that same page (Transaction Feedback) and under “Dynamic e-Commerce parameters” ensure that COMPLUS, NCERROR, ORDERID, PAYID, and STATUS are listed in the “Selected” box: Note to existing customers: if you previously purchased the Ogone plugin and did not configure the COMPLUS setting, you may see a notice in your WooCommerce admin instructing you to configure this setting within Ogone and then click “complete” on the message. It’s important that you perform both steps so as to avoid interruptions in your ability to process credit cards.
- Optional Step: You can optionally select the parameters CARDNO, BRAND, and ED to display the last four digits of the credit card account number, the card brand, and the expiration date in the WooCommerce admin order notes.
- Scroll a bit further down this same page (Transaction Feedback) and set a SHA-OUT pass phrase of your choosing. Finally scroll to the bottom of the page and hit “Save”.
Note that if you wish to run test transactions you’ll have to follow the above steps twice: first for your test account, and then again for your live account when you’re ready to accept customer payments.
Once your Ogone back office settings are complete, you’ll need to log into your WooCommerce admin and configure the WooCommerce Ogone plugin.
- Enable/Disable – This will enable the gateway to be used by customers to checkout.
- Testing – Set to “Yes” to use with a test account. Set to “No” when you’re ready to start accepting live payments.
- Title – This is the text shown for the payment during checkout and on the Order Received page.
- Description – This is the text shown under the title during checkout. Limited HTML is allowed.
- Ogone PSPID – The PSPID for your account, provided by Ogone. Note that you should have a different PSPID for testing mode vs. live mode.
- Ogone SHA-IN – This is the SHA-IN passcode you created while configuring your Ogone account in step 2 above.
- Ogone SHA-OUT – This is the SHA-OUT passcode you created while configuring your Ogone account in step 5 above.
- Debug Mode – Enable this is you are having issues correctly processing transactions. All debugging messages are cleaned of sensitive information before display, but as a best practice, please do not enable this unless you are having issues with the plugin.
Troubleshooting ↑ Back to Top
Having trouble? Follow these steps to make sure everything is setup correctly before posting a support request:
- Verify that your PSPID is for a test account if Testing is enabled, or otherwise is for a live account.
- Verify that the Dynamic e-Commerce parameters are correctly configured in your Ogone back office, as described in step 4 above.
- Verify that SHA-IN and SHA-OUT configured in your Ogone account are copied exactly into the plugin settings
- Enable debug mode to the checkout page and review the transaction requests/responses for errors (providing these when opening a support ticket can also be very helpful)
- Ogone error logs: Log into your Ogone back office and go to Configuration > Error Logs to view any transaction errors logged by Ogone:
- Submit a support ticket, ideally with the debug log as an attachment, along with any relevant order notes, and errors logged in the Ogone backoffice.
Some of the most common error codes you may encounter:
This error means that the referrer we detected is not a URL the merchant has entered in the URL field in the “Data and origin verification” tab, “Checks for e-Commerce” section of his Technical Information page.
Solution: Check your URL setting as described in step 2 above.
You will receive this error message if the SHASIGN sent for the transaction does not match the SHASIGN calculated at Ogone’s end using the details of the order and the additional string (password/pass phrase) entered in the SHA-IN Signature field in the “Data and origin verification” tab, “Checks for e-Commerce” section of the Technical Information page.
Solution: Check your SHA-IN setting in the Ogone Back office and plugin configuration, as described in step 2 above.
Feedback ↑ Back to Top
Have some feedback for us on this documentation? Please let us know so we can make improvements!