OxaPay IPG for Shopify

Install App

Enter your Shopify store domain (e.g. mystore or mystore.myshopify.com) to install the app.

Payment URL

Redirect customers to this URL with the draft order details:

https://www.oxapay.melonsdigital.com/pay?draft_order_id=123456&shop=mystore.myshopify.com&amount=99.99¤cy=USD

Parameters: draft_order_id, shop, amount, currency (optional, default USD), email (optional)

Create Draft Order from Cart (API)

POST to /api/draft-order with JSON body:

{
  "shop": "mystore.myshopify.com",
  "line_items": [
    { "variant_id": 123456789, "quantity": 1 },
    { "price": "29.99", "title": "Custom item", "quantity": 2 }
  ],
  "email": "customer@example.com"
}

Returns payment_url to redirect the customer.

Webhook

OxaPay callback: https://www.oxapay.melonsdigital.com/webhook/oxapay