How to Configure Payment Methods in Instore?
Last updated
Was this helpful?
Last updated
Was this helpful?
When online sales features are used in the Instore application, payment and sales transactions can be made with two payment methods: "Pay with QR Code" and "Pay at Checkout". The "Pay with QR Code" payment method enables customers to make payments for items in their cart by scanning the QR code displayed on the Instore application screen or by clicking the payment link sent to their phones via SMS.
"Pay at Checkout" payment method allows customers to make payments for the items in their basket at the store cash register using the barcode photo shown on the Instore application screen or sent to their phone via SMS.
Information regarding the setup of the "Pay with QR" and "Pay at Checkout" payment methods are provided below.
If the online sales features are used in the Instore application, there is no need for installation for the "Pay with QR" payment option, as it becomes automatically active. However, to enable the auto-login and SMS functions, these features need to be activated in Omnitron.
In order for customers to be directly redirected to their shopping carts when they scan or click on the QR code during the payment process, bypassing the need for customer login, the relevant setting needs to be enabled on Omnitron.
To do this, click on the Sales Channels in Omnitron, then navigate to Sales Channel Settings and access the Dynamic Settings screen. From the list of Dynamic Settings, locate the setting named "Checkout_with_token_allow_anonymous" and mark the value field as Yes to activate it.
To send the QR link generated by the Instore application as an SMS to customers' mobile phone numbers during the payment step, the relevant setup needs to be performed on Omnitron.
Access the Instore Settings screen in Omnitron's user panel by navigating to Sales Channels > Sales Channel Settings in the left menu. Within this screen, use the Config Settings section to enable the "Show Send SMS on Pay with QR Step" setting.
After this step, it is necessary to create the SMS to be sent and its content. For this, open the Mailing Templates screen in Omnitron by navigating to Sales Channels > Content Management > Mailing Templates. By using the New Mailing Template button, create a new template and specify the content of the SMS to be sent, along with making the necessary settings.
Enter the following information into the form that appears when you click on the New Mailing Template button:
Name: Other
Name: sms/orders/checkout_url_with_token.html
Status: Active
Language: English
Content: The SMS content that is desired to be sent with the {{ checkout_url }} parameter included in it.
In order to enable payment and sales transactions through the store POS at the payment step in Instore application, installations should be performed on both Omnitron and POS sides.
On the Sales Channels > Payment Management > Payment Options screen in Omnitron, the New Payment Option button should be clicked and the "Pay at Checkout" payment method should be defined through the form that appears. After defining the payment option, it is mandatory for Omnishop's update services to be running in order for the changes to be applied. It takes about 10-15 minutes for the update to take place.
The form that opens up after clicking on the New Payment Option button should be filled with the following information:
Payment Type: Cash Register
Payment Option Name: Pay at Checkout
Payment Option Slug: cash-register
Priority: 0
Config: {"rule":{"params":{"query":[["requestMETAHTTP_X_STORE_SECRET_KEY","Store Secret Key"]]},"klass":"omnishop.payments.rules.LiquerRule"}}
Status: Active
Store Secret Key authorization token can be obtained by sending a request to /api/v1/application_settings/
with the token. The value is a unique hexadecimal UUID and is defined in the settings file. If it is not defined, it can be obtained by sending a post request to the same endpoint with the STORE_SECRET_KEY.
After defining the "Pay at Checkout" payment method in Omnitron, integration should be done with the store's POS devices.
In order to send the barcode image created by the Instore application as an SMS to the customer's mobile phone number during the "Pay at the Cashier" payment step, the relevant setup needs to be performed on Omnitron.
Access the Instore Settings screen in Omnitron's user panel by navigating to Sales Channels > Sales Channel Settings in the left menu. Within this screen, use the Config Settings section to enable the "Show Send SMS on Pay with Barcode Step" setting.
After this step, it is necessary to create the SMS to be sent and its content in Omnitron. To do this, open the Mailing Templates screen under Content Management in Omnitron. By using the New Mailing Template button, create a new template and specify the content of the SMS to be sent, along with configuring the necessary settings.
The form that opens up after clicking on the New Payment Option button should be filled with the following information:
Name: Other
Name: sms/orders/barcode.html
Status: Active
Language: English
Content: The SMS content to be sent, which should include the parameter {{ barcode_url }}.