Skip to content

Latest commit

 

History

History

shopinvader_api_payment_provider_custom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shopinvader Api Payment Provider Custom

Beta License: AGPL-3 shopinvader/odoo-shopinvader-payment

This addon creates a custom redirect_form_html for custom providers. This HTML contains the pending message defined on the custom provider plus all the payment info. It also allow to submit the form to redirect to a new route /payment/providers/custom/pending where the transaction is set to pending and the callbacks are executed, as in the standard Odoo flow.

Table of contents

Specific procedure for Custom payments

This addon manages custom payments (such as wire transfers).

First call the POST /payment/transactions as described in the core addon shopinvader_api_payment. This method will return a TransactionProcessingValues schema in which you will find a redirect_form_html HTML form. This HTML form must just be submitted by the front. It will call the POST route payment/providers/custom/pending that will send the transaction into pending (compared to other providers, a transaction paid with a custom payment mode is not automatically validated). This route will then redirect to the frontend_redirect_url giving the pending message defined on the provider.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

  • ACSONE SA/NV
  • Shopinvader

This module is part of the shopinvader/odoo-shopinvader-payment project on GitHub.

You are welcome to contribute.