|
| 1 | +[ |
| 2 | + { |
| 3 | + "id": "bacs", |
| 4 | + "title": "Direct bank transfer", |
| 5 | + "description": "Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order will not be shipped until the funds have cleared in our account.", |
| 6 | + "order": "", |
| 7 | + "enabled": false, |
| 8 | + "method_title": "Direct bank transfer", |
| 9 | + "method_description": "Take payments in person via BACS. More commonly known as direct bank/wire transfer", |
| 10 | + "method_supports": [ |
| 11 | + "products" |
| 12 | + ] |
| 13 | + }, |
| 14 | + { |
| 15 | + "id": "cheque", |
| 16 | + "title": "Check payments", |
| 17 | + "description": "Please send a check to Store Name, Store Street, Store Town, Store State / County, Store Postcode.", |
| 18 | + "order": "", |
| 19 | + "enabled": false, |
| 20 | + "method_title": "Check payments", |
| 21 | + "method_description": "Take payments in person via checks. This offline gateway can also be useful to test purchases.", |
| 22 | + "method_supports": [ |
| 23 | + "products" |
| 24 | + ] |
| 25 | + }, |
| 26 | + { |
| 27 | + "id": "cod", |
| 28 | + "title": "Cash on delivery", |
| 29 | + "description": "Pay with cash upon delivery.", |
| 30 | + "order": "", |
| 31 | + "enabled": true, |
| 32 | + "method_title": "Cash on delivery", |
| 33 | + "method_description": "Have your customers pay with cash (or by other means) upon delivery.", |
| 34 | + "method_supports": [ |
| 35 | + "products" |
| 36 | + ], |
| 37 | + "settings": { |
| 38 | + "title": { |
| 39 | + "id": "title", |
| 40 | + "label": "Title", |
| 41 | + "description": "Payment method description that the customer will see on your checkout.", |
| 42 | + "type": "safe_text", |
| 43 | + "value": "Cash on delivery", |
| 44 | + "default": "Cash on delivery", |
| 45 | + "tip": "Payment method description that the customer will see on your checkout.", |
| 46 | + "placeholder": "" |
| 47 | + }, |
| 48 | + "instructions": { |
| 49 | + "id": "instructions", |
| 50 | + "label": "Instructions", |
| 51 | + "description": "Instructions that will be added to the thank you page.", |
| 52 | + "type": "textarea", |
| 53 | + "value": "Pay with cash upon delivery.", |
| 54 | + "default": "Pay with cash upon delivery.", |
| 55 | + "tip": "Instructions that will be added to the thank you page.", |
| 56 | + "placeholder": "" |
| 57 | + }, |
| 58 | + "enable_for_methods": { |
| 59 | + "id": "enable_for_methods", |
| 60 | + "label": "Enable for shipping methods", |
| 61 | + "description": "If COD is only available for certain methods, set it up here. Leave blank to enable for all methods.", |
| 62 | + "type": "multiselect", |
| 63 | + "value": "", |
| 64 | + "default": "", |
| 65 | + "tip": "If COD is only available for certain methods, set it up here. Leave blank to enable for all methods.", |
| 66 | + "placeholder": "", |
| 67 | + "options": { |
| 68 | + "Flat rate": { |
| 69 | + "flat_rate": "Any "Flat rate" method", |
| 70 | + "flat_rate:1": "Other locations – Flat rate (#1)" |
| 71 | + }, |
| 72 | + "Free shipping": { |
| 73 | + "free_shipping": "Any "Free shipping" method", |
| 74 | + "free_shipping:4": "Other locations – Free shipping (#4)" |
| 75 | + }, |
| 76 | + "Local pickup": { |
| 77 | + "local_pickup": "Any "Local pickup" method" |
| 78 | + } |
| 79 | + } |
| 80 | + }, |
| 81 | + "enable_for_virtual": { |
| 82 | + "id": "enable_for_virtual", |
| 83 | + "label": "Accept COD if the order is virtual", |
| 84 | + "description": "", |
| 85 | + "type": "checkbox", |
| 86 | + "value": "yes", |
| 87 | + "default": "yes", |
| 88 | + "tip": "", |
| 89 | + "placeholder": "" |
| 90 | + } |
| 91 | + } |
| 92 | + }, |
| 93 | + { |
| 94 | + "id": "paypal", |
| 95 | + "title": "PayPal", |
| 96 | + "description": "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account.", |
| 97 | + "order": "", |
| 98 | + "enabled": false, |
| 99 | + "method_title": "PayPal Standard", |
| 100 | + "method_description": "PayPal Standard redirects customers to PayPal to enter their payment information.", |
| 101 | + "method_supports": [ |
| 102 | + "products", |
| 103 | + "refunds" |
| 104 | + ] |
| 105 | + } |
| 106 | +] |
0 commit comments