Introduction
ShopeePay uses a redirect-based payment flow. When a customer selects ShopeePay at checkout, they are redirected to ShopeePay’s interface to authenticate and confirm their payment, then redirected back to your website or app upon completion. ShopeePay is a single-use payment method where customers must authenticate each payment. This guide explains the process of integrating ShopeePay into your app or website using Payrails.Pre-requisites
Before you start accepting ShopeePay payments with Payrails, there are a few requirements you must meet:Ways to integrate ShopeePay
Payrails SDK
Server-to-server integration
Parse ShopeePay from lookup response
Pass ShopeePay payment method in request to authorize payment with Payrails
Note on amountsIDR uses 2 decimal places. Amounts should be provided in the smallest currency unit—for example,
3990000 for Rp39,900.00.ShopeePay is a redirect-based, single-use payment method. After calling the authorize endpoint, the customer will be redirected to ShopeePay’s interface to authenticate and confirm the payment. Once confirmed, the customer will be redirected back to the
returnInfo.success URL. Make sure to provide valid returnInfo URLs in your authorization request.Handle the redirect response
Supported currencies
ShopeePay via dLocal supports the following presentment currencies:- IDR — Indonesian Rupiah
- PHP — Philippine Peso
- THB — Thai Baht