Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 3.12 KB

FAQ-Integrations.md

File metadata and controls

52 lines (41 loc) · 3.12 KB

BTCPay Integrations Frequently Asked Questions

This page covers questions about BTCPay integrations.

Integrations General FAQ

Which integrations are available in BTCPay?

Does BTCPay have a Shopify plugin?

At this time, BTCPay does not have a Shopify integration.

Can I use BTCPay without an integration?

Yes, you can. While various e-commerce CMS use integrations, you can use BTCPay even if you're not a merchant. For more information about use-cases, see this page

WooCommerce FAQ

How to configure order status in WooCommerce?

Order status depends on a merchant's business model. To better understand BTCPay order (invoice) status read this document. There's no best way to configure them without trial and error and seeing what works for your business.

How to customize e-mail confirmations in WooCommerce?

If you wish to send an e-mail after a certain status to the customer, you need to edit WooCommerce order e-mail templates. This is recommended only if you know what you're doing. Check out this guide.

Error: If you use an alternative order numbering system, please see class-wc-gateway-btcpay.php to apply a search filter

If by any chance you use a different order numbering than standard in WooCommerce, the following error may appear in your BTCPay WooCommerce plugin logs:

[Error] The BTCPay payment plugin was called to process an IPN message but could not retrieve the order details for order_id: "ON123". If you use an alternative order numbering system, please see class-wc-gateway-btcpay.php to apply a search filter.

Paste the following code at the bottom of your child's theme functions.php file:

function get_order_id_from_custom_order_style($orderid){
  if(is_string($orderid)){
    $result = preg_replace('~\D~', '', $orderid);
    return $result;
  }
  return $orderid;
}

add_filter('woocommerce_order_id_from_number', 'get_order_id_from_custom_order_style', 1);