How MobilePay Online works
How payments in web shops or merchant websites work with MobilePay Online.
Details
1. Customer selects their payment method
Give the customer the option to pay with MobilePay in your webshop or app.
2. Customer enters their phone number and logs in
When they select MobilePay, initiate a payment with:
POST:/api/v3/payments/
.
If the payment was started from a mobile device, the MobilePay app will automatically open.
If the payment was started on a desktop device, the landing page will open. There, the customer enters their phone number and clicks Next to send the payment request to the app on their phone.
3. Customer confirms the payment in the app
A push notification appears on the customer's phone. They log in to MobilePay and confirm the payment. MobilePay Online automatically reserves the payment and provides a receipt of the successful payment.
4. The merchant's shop confirms the order
After the customer has approved the payment in the app:
- If the payment was started on a mobile device, the store page or app will open again and confirm that the order was successful.
- If the payment was started on a desktop device, the user can go back to the webpage where it will confirm that the order was successful.
To determine that the user has authorized the payment, poll with the
GET:/psp/v3/psppayments/{pspTransactionId}/details
request. See the guidelines for polling.
5. The merchant completes the order and shipping
The merchant completes the order and ships it to the customer.
6. Capture the payment
The merchant captures the order through MobilePay Online. The payment is transferred to the merchant's account. This may take 2-3 days depending on your bank.
More information
For technical details, see the MobilePay Online guide.