Pockyt Checkout
Pockyt Hosted Checkout is a convenient and secure solution that enables merchants to redirect their customers to a dedicated payments page hosted by Pockyt. This hosted payments page serves as a centralized platform where customers can complete their transactions using various payment methods, including digital wallets and other popular payment options.
Please see a demonstration of the Pockyt Hosted Checkout Page at this link:
Pockyt Hosted Checkout Demo
By utilizing Pockyt Hosted Checkout, merchants can offload the complexity of payment processing and security to Pockyt's trusted infrastructure. Instead of handling payment details directly on their own website, merchants can redirect customers to the Pockyt-hosted page, ensuring a secure and reliable payment experience.
This approach simplifies the integration process for merchants, as they can leverage Pockyt's ready-made hosted payments page without the need for extensive development work. It also provides customers with a familiar and consistent checkout experience, as they interact with a dedicated payments page specifically designed for secure and efficient transactions.
Pockyt Hosted Checkout supports a wide range of payment methods, including digital wallets such as AliPay, WeChat Pay, and other popular payment schemes. This flexibility allows merchants to cater to the preferences of their customers and offer a seamless and convenient payment experience.





Here's a step-by-step process that customers typically go through when making a payment with AliPay:
- 1.Customer selects products: The customer browses through the eCommerce website, adds desired products to their cart, and proceeds to the checkout page.
- 2.Choose payment method: At the checkout page, the customer selects AliPay as their preferred payment method.
- 3.Redirect to AliPay: Upon selecting AliPay, the customer is redirected to the AliPay platform to complete the payment. This ensures a secure transaction process.
- 4.Login to AliPay: The customer logs into their AliPay account using their credentials or any authentication method provided by AliPay.
- 5.Review and confirm payment: The customer reviews the payment details, such as the total amount and order summary, on the AliPay platform. They can also select their desired payment source within their AliPay account.
- 6.Complete payment: After verifying the payment information, the customer confirms the payment on the AliPay platform. AliPay securely processes the transaction and provides a payment confirmation.
- 7.Return to the eCommerce website: Once the payment is successfully processed, the customer is redirected back to the eCommerce website. They receive an order confirmation, and the transaction details are updated in the merchant's system.
By integrating Pockyt's online payment solution, merchants can offer customers a seamless checkout experience with AliPay and other digital wallets. The integration methods available include integrating Pockyt's hosted secure payment page (Pockyt Checkout) or leveraging the Pockyt API to build a customized payment UI for preferred digital wallets (Pockyt Integrated Payments). This enables merchants to cater to their customers' payment preferences while ensuring a secure and convenient transaction process.

The following steps outline the basic use case of Pockyt Checkout in an online payments checkout process:
- The merchant system calls the secure-pay API to retrieve a cashierURL from Pockyt.
- For recurring payments: The merchant system calls the create API to register a customer.
- This generates a customer ID, which is stored in the merchant system's database for future transactions.
curl -XPOST -H "Content-type: application/json" -d '{
"merchantNo": "200043",
"storeNo": "300014",
"verifySign": "72a2c6ce8497adc8a03a78135618e666",
"amount": "13",
"currency": "PHP",
"settleCurrency": "USD",
"vendor": "alipay",
"terminal": "ONLINE",
"timeout": "30",
"reference": "test202001011303",
"ipnUrl": "http://zk-tys.yunkeguan.com/ttest/test",
"callbackUrl": "http://zk-tys.yunkeguan.com/ttest/test2?status={status}",
"description": "test+description",
"note": "test note",
"osType": "IOS",
"goodsInfo": [
{
"goods_name": "name1",
"quantity": "quantity1"
}
]
}' 'https://mapi.yuansfer.com/online/v3/secure-pay'
- Using the cashierURL, the customer is redirected to Pockyt's hosted payment form.
- After the payment is completed, Pockyt redirects the customer back to the merchant's payment result page using the provided callback URL in the request body of the secure-pay API.
- Pockyt relays the transaction results to the merchant's website using the IPN callback function.
- To receive the payment results, the merchant website creates an IPN listener page and uses its URL in the request body of the secure-pay API.
- The merchant's website displays the payment confirmation message to the customer.
Last modified 5mo ago