How To Embed The Cashier

Embedded Script

The embedded script will generate an IFRAME and will pass the data-paramas injected fields into it. The idea is to decouple and remove the need for PCI-DSS certification whatsoever.

<script src="[SERVER_URL]/cashier"
data-cashier-key=""
data-cashier-token=""
data-order-id=""
data-currency=""
data-direct-payment-method=""
data-currency-lock=""
data-first-name=""
data-last-name=""
data-amount=""
data-email=""
data-address=""
data-country=""
data-state=""
data-city=""
data-zip-code=""
data-phone=""
data-affiliate-id=""
data-tracking-id=""
data-button-mode="" //'modal', 'tab', 'spot'
data-button-text=""
/>
</script>
  • The Cashier will be rendered at the same location that this script is being placed.

  • The order to the data-params is not important and will not affect anything.

  • first name and last name will be combined to CARD HOLDER NAME field and will be shown as read only.

  • A non valid phone number will not affect the ability to deposit

  • Any not valid data-param that will result in empty field that will be needed to be filled by the customer

remark: any data-param valid field will not be shown on the form, unlesss a data-debug flag has been enabled (stage mode only).