Sha256: c7270e9ff44cbada01da6300bcc9b6f75e2e0408ce32c0f153be8e500613317e

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

{
  "type": "redirect",
  "gateway": "IDEAL",
  "order_id": "order-with-shopping-cart",
  "currency": "EUR",
  "amount": 1695,
  "description": "Order with shopping cart",
  "payment_options": {
    "notification_method": "POST",
    "notification_url": "https://www.example.com/webhooks/payment",
    "redirect_url": "https://www.example.com/order/success",
    "cancel_url": "https://www.example.com/order/failed"
  },
  "shopping_cart": {
    "items": [
      {
        "weight": {
          "unit": "G",
          "value": 120
        },
        "name": "Socks",
        "description": "One pair of black socks",
        "merchant_item_id": "001-M",
        "unit_price": 3.305785124,
        "quantity": 3,
        "tax_table_selector": "21_percent"
      },
      {
        "name": "Shipping",
        "description": "Domestic shipping (zone 1)",
        "merchant_item_id": "msp-shipping",
        "unit_price": 4.95,
        "quantity": 1
      }
    ]
  },
  "checkout_options": {
    "validate_cart": true,
    "tax_tables": {
      "default": {
        "rate": 0
      },
      "alternate": [
        {
          "name": "21_percent",
          "rules": [
            {
              "rate": 0.21,
              "country": "NL"
            }
          ]
        }
      ]
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multisafepay-api-ruby-0.1.0 test/fixtures/orders/create.json