Skip to main content

Flow

  1. Customer selects Pay with Crypto at WooCommerce checkout
  2. Plugin calls POST /v1/invoices with Woo order ID as external_order_id
  3. Order status set to on-hold with awaiting-payment order note
  4. Order meta stores the Meum invoice ID and checkout URL for the customer to resume payment
  5. Customer redirected to hosted checkout (checkout_url, e.g. https://pay.meum.io/inv_…)
  6. Customer completes crypto payment on hosted checkout
  7. Meum sends invoice.paid webhook to WooCommerce
  8. Plugin calls $order->payment_complete() and adds payment received order note

Redirect behavior

Plugin returns { result: 'success', redirect: checkout_url }. Full redirect to Meum hosted checkout.