Files
2020-04-10 23:04:44 +02:00

1.8 KiB

payment_btcpay

Gateway to BTCPay for Odoo v9.0

This is the module to connect Odoo 9.0 and BTCPay

This module allow you to create an easily way to accept cryptocurrencies.

Configure Payment Acquirer

  • Install BTCPay Module -> Website -> eCommerce -> Payment Acquirers -> BTCPay
  • Put your facace. Best option is 'merchant'.
  • Put the location as test or live url. Test example url: https://testnet.demo.btcpayserver.org
  • Put the Confirmation URL where BTCpay will return after payment.
  • Check if you want that Odoo send an email to your buyer after transaction is "Confirmed"
  • Put your "Pairing Code" if you want that system get the "Token", after that "Pairing Code" will be deleted and the "Token" will appear in the corresponding field. You must safe the changes in order that this happens. NOTE: if you want to get new "Token" throw new "Pairing Code", please remove the "Token" field. Keep in mind that "Token" field must be in blank if you want to get throw the API.
  • Put your "Token" if you have it and don't want to use Pairing Code to get it. Remember, if you want to get throw API please don't write anything here.
  • If you have a Private Key you can write here otherwise system will get when you safe the Payment Acquirer
  • Remember to Publish On Website

Payment Acquirer

Transaction BTCPay Details

In transaction object, you will find more technical information about this method of payment:

  • Transaction Id: cryptocurrency transaction hash for the executed payout
  • Invoice Id: the id of the invoice for which you want to fetch an event token
  • Transaction Status: That indicates state of transaction
  • Buyer Mail Notification: Indicates if mail has been sent or if not (it will be in blank)

Transaction Btcpay Details