Paysafe Payment Gateway - Paysafe Checkout, Cards, Capture, Refunds | Paysafe Payments API
by Modvanta$ 48.86

Paysafe integration for Odoo 19
Take card payments with Paysafe Checkout, then capture and refund from Odoo.
The customer types the card into the Paysafe Checkout overlay, so card numbers never pass through Odoo. Odoo makes the payment with your secret key and keeps it in step with Paysafe: settlements, voids, refunds and signed webhooks.
What it does
Paste the secret key (user name and password), the Base64 public key and, if you have several card accounts in one currency, the account ID. Test Connection checks the secret key against the Paysafe test or live host.
At checkout the customer picks Card and Paysafe Checkout opens over the page with the amount, currency and your order reference. When the card is accepted it hands back a single-use payment handle token. The browser passes that token to Odoo, and Odoo calls POST /payments with the secret key. The amount and currency in the answer are checked against the order.
Leave manual capture off and payments are settled with the authorization. Turn it on and they stop at Authorized: capture all or part of it (a settlement), void the rest, and refund later against the settlement. Refunds that Paysafe still has pending wait in Odoo until the webhook says they are done.
Paysafe signs every webhook with your HMAC key. Odoo checks the Signature header, takes only the order reference from the body and reads the payment, settlement or refund again from the API. A payment held for a risk review moves on by itself that way.
Who it is for
| Shops in the UK, Europe, the US and Canada with a Paysafe merchant account. | |
| Businesses that authorize at order time and charge when they ship. | |
| Finance teams that refund from Odoo instead of the Paysafe Business Portal. |
Key features
Screens from a test database. Paysafe API calls were answered by a local stand-in shaped like the examples of the Paysafe API reference and the webhooks were signed with a test key; no real account was used. The Paysafe Checkout overlay itself is served by Paysafe and is not shown here.
Secret key, public key and webhook key
Credentials from the Business Portal, the webhook URL to register there and a Test Connection button.
| Test mode uses api.test.paysafe.com and Checkout TEST, Enabled uses LIVE | |
| All keys are visible to administrators only |

Checkout options
Company name and button colour shown in Paysafe Checkout, and how long the API log is kept.

Pay an invoice by card
Paysafe on the Odoo payment form. Pay opens Paysafe Checkout.

Card payment settled
Payment ID, status, authorization code and gateway response code.

Held, then confirmed by webhook
This payment was held for review. The signed webhook made Odoo read it again and confirm it.

Partial capture
GBP 500 captured from a GBP 640 authorization, with its settlement ID.
| Billing users can check the status from the payment |

Void the rest
The remaining GBP 140 released with a void authorization.

Partial refund
Refunded against the settlement. It stayed pending until the webhook came in.

All payments
Payments, captures, voids and refunds in the standard Odoo list.

API log
Every call and webhook. Payment handle tokens, card data, names, emails and phone numbers are masked.

How it works
| 1 | Install and open the provider. Invoicing or Accounting > Configuration > Payment Providers > Paysafe. |
| 2 | Paste the keys. Secret key user name and password, Base64 public key. |
| 3 | Register the webhook. Copy the webhook URL to the Business Portal and paste its HMAC key back into Odoo. |
| 4 | Test. Leave the provider in Test mode and pay with Paysafe test cards. |
| 5 | Go live. Switch to Enabled with your live keys. |
Settings
| Paysafe Secret Key Username / Password | Server calls, Basic authentication. |
| Paysafe Public Key (Base64) | Used by Paysafe Checkout in the browser. |
| Paysafe Card Account ID | Only with several card accounts in one currency. |
| Paysafe Webhook HMAC Key | Webhooks are refused while it is empty. |
| Capture Amount Manually | Standard Odoo option: authorize now, settle later. |
| Keep Paysafe API Log (days) | 90 by default. |
FAQ
Do card numbers go through Odoo?
No. Paysafe Checkout collects them and gives Odoo a single-use token.
Which currencies?
USD, CAD, EUR and GBP, the four Paysafe Checkout supports, as long as your Paysafe account has them.
Can I capture less than I authorized?
Yes. Capture part of it, then capture more or void the rest.
Is Skrill or Neteller included?
No, this module handles card payments.
Do I need a Paysafe account?
Yes. The module never creates accounts.
Compatibility and support
Odoo 19 Community and Enterprise. Needs Invoicing.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $49Odoo 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