This page covers questions about BTCPay integrations.
- Which integrations are available in BTCPay?
- Does BTCPay have a Shopify plugin?
- Can I use BTCPay without an integration
- How to configure order status in WooCommerce?
- How to customize e-mail confirmations in WooCommerce?
- Error: If you use an alternative order numbering system, please see class-wc-gateway-btcpay.php to apply a search filter
At this time, BTCPay does not have a Shopify 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
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.
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);