Revo mPos is a complementary application that allows you to make payments through iTos devices https://itos.es/es/ in a totally integrated way with your application.
It is a totally complementary application that works through url schemes, which allows any application to use it to be able to charge with a credit card very easily.
API
Open a URL with the following format
revompos://charge?amount=20.50&order=1234&printer_type=1&printer_ip=192.168.1.133&printer_port=9100callback=callback://callback
Objective c Example:
[[UIApplication sharedApplication] openURL:url];
Parameters
Field | Description |
---|---|
Amount | the amount to charge |
Order | the invoice number |
printe_type | the int type of the printer |
printer_ip | the ip of the printer |
printer_port | the port of the printer |
Callback | The callback url scheme to call when charge finished |
Type | Value |
---|---|
PRINTER_STAR_ETHERNET | 1 |
PRINTER_EPSON_TM88V | 3 |
PRINTER_EPSON_TMU220 | 4 |
PRINTER_AIRPRINT | 5 |
PRINTER_ESCPOS | 6 |
PRINTER_STAR_PORTABLE | 7 |
PRINTER_STAR_PORTABLE_BLUETOOTH | 8 |
PRINTER_STAR_MPOP | 9 |
PRINTER_STAR_BLUETOOTH | 10 |
PRINTER_STAR_FUTURE_PRNT | 11 |
PRINTER_PDF | 100 |
PRINTER_CONSOLE_LOG | 101 |