Support » Plugin: BitPay Checkout for Woocommerce » Post status settings

  • Resolved 419mining

    (@419mining)


    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.

    moved here to start a new topic, closing the one attached to.
    BitPay (@bitpay)

    @419mining we can look at custom mapping, but the invoices are only in a few states

    new – default state when the invoice is created
    paid – when a user pays the invoices
    confirmed/complete – when the transaction has gone through blockchain verifications

Viewing 2 replies - 1 through 2 (of 2 total)
  • 419mining

    (@419mining)

    for 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 4 months ago by  419mining.
    Plugin Author BitPay

    (@bitpay)

    Hi @419mining

    3.0.5.5 has updated configuration options that will allow you to override the two main IPN status updates and map them to a WC order status

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.