WayForPay Payment Gateway - Card, Apple Pay, Google Pay, Privat24 | Ukraine Payment Gateway
by Modvanta
Odoo
$ 44.87

Take WayForPay payments in Odoo 19 and refund them from Odoo, with every answer checked by signature
WayForPay | Card | Apple Pay | Google Pay | Privat24 | UAH | Ukraine
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds WayForPay as a payment provider. Odoo builds the signed Purchase form, the customer pays on the WayForPay page, and the order or invoice is marked paid once the signed notification arrives or Odoo reads the status with CHECK_STATUS.
| WayForPay payment page: cards, Apple Pay, Google Pay, Privat24 and the other methods active on your store; you can limit the list | |
| Signed both ways: the Purchase form is signed with your secret key, and the notification, status answers and refund answers are checked before use | |
| Signed accept answer: Odoo answers the notification with the signed accept WayForPay waits for, so it stops resending | |
| Amount and currency check: a different amount or currency puts the payment in error | |
| Refunds from Odoo: full or partial, with the WayForPay answer checked by signature | |
| Declined card: the WayForPay page stays open for another card, so the payment stays pending and is checked again | |
| Status on return and every 5 minutes: a missed notification does not leave the order unpaid | |
| API log: calls and notifications with the signatures and customer details masked |
Who it is for
SHOPS IN UKRAINE Take card and wallet payments in hryvnia on your Odoo website. | SERVICE BUSINESSES Send an invoice and let the customer pay with Google Pay from the portal. | ACCOUNTING TEAMS Refund from Odoo and see the card, auth code and fee on the transaction. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| WayForPay payment provider | Not included | Included |
| Signature checks | Not included | HMAC on every answer |
| Refunds from Odoo | Not included | Full and partial |
| Status follow-up | Not included | On return and every 5 minutes |
Screenshots
Taken on a fresh Odoo 19 database with this module installed. No WayForPay account was used: the WayForPay answers on this database are simulated from the public WayForPay documentation.
1. Credentials
Merchant account, secret key, domain, service URL and Test Connection.

2. Options
Page language, currencies, payment methods, order lines and order lifetime.

3. Pay an invoice
The customer pays a hryvnia invoice from the portal.

4. Paid transaction
Status, masked card, method (Google Pay here), auth code and fee.

5. Refund
A partial refund of 300 UAH made from Odoo.

6. API log
Each call and notification, with the reply Odoo sent.

How it works
| 1 | In your WayForPay account, open the store settings and copy the merchant login and the secret key. |
| 2 | Open Accounting > Configuration > Payment Providers > WayForPay, paste them and press Test Connection. |
| 3 | Pay one order with a test store of your account and check the API log for the notification. |
| 4 | Enable the provider. Nothing has to be set in WayForPay: Odoo sends the service URL with each payment. |
Settings
| WayForPay Currencies: UAH by default; add USD or EUR if your store accepts them | |
| WayForPay Payment Methods: card;googlePay;applePay... or empty for all | |
| WayForPay Order Lifetime: how long the customer may pay, 24 hours by default | |
| WayForPay Page Language: UA, EN, RU and others, or the customer's language |
FAQ
Has it been tested with a live WayForPay store?
No. It was built from the public WayForPay documentation and tested with 37 automated tests shaped like the documented answers. Try one payment with a test store first.
Can I refund part of a payment?
Yes. Odoo sends a REFUND for the amount you enter and checks the signed answer.
What if the customer closes the browser after paying?
The notification and the scheduled status check still confirm the payment.
Does it work next to LiqPay?
Yes. It was installed and tested next to our Ukraine commerce module, which has LiqPay.
Is card data stored in Odoo?
No. The card is typed on the WayForPay page.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module