Plugins for ecommerce platforms
This section contains InPost Pay plugins for ecommerce platforms:
Plugins with Widget 2.0 support:
Requirements for the deployment of the InPost Pay service have been specified in the article: InPost Pay implementation standards . Once plugin installation and configuration is completed, it is necessary to test whether the integration is functioning properly by executing basic test scenarios: InPost Pay Test Scenarios.
Want to test on the local environment?
In order to provide remote access to the local environment, an additional workaround is required in the form of tunneling traffic from the public domain to a local address. Without such a workaround, there is no way to connect directly to the local environment. Recommended solution
The current recommended tool is ngrok, which allows you to quickly set up a tunnel between the public URL and the local environment. All you need is a free account that provides one permanent public domain. This domain can redirect traffic to a local application or a closed test environment.
Requirements
After creating a free public domain, you need to provide its address in the Contact -> Sandbox form to receive credentials and all test traffic can be routed to that address.
Solution concept
The InPost Pay solution allows to finalize the purchase (checkout) process in the InPost Mobile app based on integration with different online platforms/stores.
The solution addresses the basic issues of the e-commerce market:
Enables shopping in guest mode, without the need to create an account in multiply stores
Eliminates the need to enter delivery/invoice information, etc.
Reduces time it takes from displaying a product to finalizing a purchase
Reduces the number of abandoned baskets
The basic scenario for use of InPost Pay by an end-user is as follows:
User displays the Merchant's website (in mobile and desktop version).
User clicks the "Create basket with InPost Pay" button.
Product is added to the basket on the Merchant side. Module sends information about the basket to InPost Pay. Basket is designated as synchronized with InPost Pay.
InPost Mobile app displays a push notification: a new basket requiring payment has appeared.
By clicking the push notification, the User awakens the InPost Mobile app on the linked basket.
The app automatically fills in the last selected delivery option and default payment method based on the user's profile in InPost Mobile.
When you select the "Buy and Pay" action, the plugin creates an order on the Merchant side based on the current basket.
User makes the payment in the InPost Mobile app.
Information that payment has been made is transferred to the Merchant.
10. Merchant creates and dispatches a shipment as before, the InPost Pay service does not affect the shipment creation and dispatch process.
Integration with InPost Pay takes place "through the basket". Products that the user wants to buy are added to the basket on the Merchant side using InPost Pay. Plugin transfers information on any changes in the basket to InPost Pay. Information is transferred only for those baskets for which the user at least once selected the "Create basket with InPost Pay" action (basket is synchronized with InPost Pay).
If the user makes changes to a synchronized basket on the Merchant side (changes the quantity, adds new products), the plugin sends the entire basket to the InPost Pay app to update or create a basket. Upon receiving information, InPost Pay updates the existing basket or links the basket to the phone number linked to the trusted browser and returns feedback confirming that the operation has been successfully completed.
Integration assumes that the user may perform specific actions on the basket in InPost Mobile, e.g. change quantity, enter a discount code, etc. Each time information is transferred to the Merchant. After recalculating basket contents, the plugin transfers the basket back to InPost Pay.
Before making a purchase, the user accepts terms and conditions required by the Merchant.
The user may always decide to finalize the basket on the Merchant's page. In such case, the order will not be processed by InPost Pay. The plugin sends information that the basket has been finalized through a different channel to InPost Pay.
Integration with InPost Pay does not affect the current integration of the Merchant with InPost systems as regards the generation of shipments.