Add an entirely embedded checkout to your web page, without a redirect.

 

Embedded Checkout uses a myPOS branded iFrame. It is a simple, embeddable way to get payment information and charge your clients. You can embed the iFrame on your site and then let the cardholder enter their card details and complete the payment. This is a simple way to avoid the redirection of the client to another page and keep their attention where it is needed.

 

This documentation is specific to the JavaScript Embedded SDK use only and contains information about installation, samples, setup different configurations, and advanced settings.

 

Please note that myPOS Embedded checkout does not support GPay & ApplePay payments.

 

Install via NPM package manager:

 

npm i mypos-embedded-checkout
yarn add mypos-embedded-checkout

Direct include:

<script src="https://developers.mypos.com/repository/mypos-embedded-sdk.js" type="text/javascript"></script>


Requirements:

  • Requests should be made from a public IP address.  
  • The URL_Notify should be an SSL-enabled address only, i.e. it must start with "https://". Unsecured URLs will be treated as wrong and transactions will be reversed by the system.
  • Upon HTTP request, the Merchant should respond with header HTTP 200 OK with the following body content: “OK”. Every other response will be treated as a communication error, call error, server error or system malfunctions.
  • iFrame size should be minumum 320px width and 620px heigth

        
      

 

The sample code includes all the documentation related to the JavaScript Embedded SDK. 

 

Resources:

 

Example:

Test card details