419mining
Forum Replies Created
-
Forum: Plugins
In reply to: [BitPay Checkout for WooCommerce] Post status settingsfor all of our other payment processesors the stages are as follows
a new order is created (payment status: Payment Pending)
a payment is made (payment status: Processing)
product is shipped (payment status: Completed)for your system, WooCommerce does offer other statuses, for example, you could mark it “On Hold” while waiting for the payment to confirm, then change it to “Processing” once a payment is confirmed or “Failed”, if the payment is not confirmed after 15 minutes….
The 3 stage statuses though are a standard with WooCommerce payment gateways and If you use the Woocommerce code “$order->payment_complete()” instead of hard setting the status, “$order->update_status(‘completed’, __(‘BitPay payment complete’, ‘woocommerce’));”, it will set the correct status based on the products in the order.
WooCommerce defines this in their best practice:
https://docs.woocommerce.com/document/payment-gateway-api/#section-5- This reply was modified 7 years ago by 419mining.
Forum: Plugins
In reply to: [BitPay Checkout for WooCommerce] Order gets deletes when order is not paidI moved our question to a new topic for better support
https://ww.wp.xz.cn/support/topic/post-status-settings/Forum: Plugins
In reply to: [BitPay Checkout for WooCommerce] Order gets deletes when order is not paidAlong with this, we need a way to control what status orders move to as they are pending and paid. Our invoice/shipping integrations need specific order statuses to process correctly.