Hosted checkout FAQs

Frequently asked questions about Pine Labs Hosted checkout — features, integration, payment methods, customization, pre-authorization, testing, and troubleshooting.

General

What is Hosted checkout?

Hosted checkout is a Pine Labs managed payment page. You redirect customers to this page (or embed it in an iFrame), and Pine Labs handles the entire payment experience — payment method selection, card input, UPI, OTP, offers, and more.


Do I need to be PCI compliant to use Hosted checkout?

No. Pine Labs handles all payment data collection and storage. You never touch sensitive card data.


What payment methods does Hosted checkout support?

Cards (Visa, Mastercard, RuPay — credit and debit), UPI (Collect and Intent), Net Banking, Wallets, Credit EMI, Debit EMI, BNPL, and Reward Points.


Can I use Hosted checkout with mobile apps?

Yes. Use the Pine Labs Web SDK, Android SDK, or iOS SDK to integrate Hosted checkout in mobile applications.


Integration

What API do I use for Hosted checkout?

Use the Generate Checkout Link API (POST /api/checkout/v1/orders). This creates an order and returns a redirect_url for the checkout page.


What's the difference between REDIRECT and IFRAME integration modes?

Both use the same API. In REDIRECT mode, the customer navigates to a full-page Pine Labs checkout. In IFRAME mode, the checkout is embedded inside an iFrame on your page. Set integration_mode to REDIRECT or IFRAME.


Can I switch from REDIRECT to IFRAME mode?

Yes. Change the integration_mode value in your API request. No other changes needed.


What happens if the customer closes the browser during payment?

The payment may still complete on Pine Labs' side. Configure webhooks to receive server-to-server payment status updates regardless of customer browser behavior.


Is signature verification mandatory?

Yes. Always verify the SHA256 HMAC signature on the callback to confirm the data is authentic and untampered. See Signature Verification.


Customization

Can I customize the look of the checkout page?

Yes. You can add your logo and configure brand colors. Contact the Pine Labs onboarding team for branding setup.


Can I control which payment methods appear?

Yes. Use the allowed_payment_methods array in the Generate Checkout Link API to specify which methods to show. Omit the array to show all enabled methods.


Can I pre-fill customer details?

Yes. Pass customer email_id, first_name, last_name, mobile_number, and address details in the purchase_details.customer object.


Can I display cart items on the checkout page?

Yes. Use the purchase_details.cart_details.cart_items array to show product names, images, quantities, and prices.


Can I enable express checkout for returning customers?

Yes. Set express_checkout_enabled: "TRUE" in the merchant_metadata object. Returning customers see auto-filled addresses and saved payment methods.


Pre-authorization

How does pre-authorization work?

Set pre_auth: true in the API request. The payment is authorized but not captured. Once you're ready to settle (e.g., after shipping), call Capture Order. To void, call Cancel Order.


Which payment methods support pre-authorization?

Pre-authorization is available for card payments only through Hosted checkout.


How long does an authorization hold last?

Authorization holds typically last 7 days, depending on the issuing bank. Capture or cancel the order before the hold expires.


What webhook events are sent for pre-auth?

ORDER_AUTHORIZED when payment is authorized. ORDER_PROCESSED when you capture.


Plugins and SDKs

Which ecommerce platforms are supported?

Shopify, WooCommerce, Magento, and OpenCart. See Ecommerce Plugins.


Which SDKs are available?

Web SDK, Android SDK, and iOS SDK. See SDKs.


Can I use Hosted Checkout on Shopify?

Yes. See Hosted Checkout on Shopify.


Testing

How do I test Hosted checkout?

Use the UAT environment (https://pluraluat.v2.pinepg.in) with test card details.


Can I test UPI payments in UAT?

UPI payments process real transactions even in UAT. Test with minimum amounts (₹1).


Which payment methods can I test in UAT?

Credit/Debit Cards, Net Banking (via SBI), Cross-Border, and Pay by Points. UPI processes real transactions.


When do I get production credentials?

After UAT sign-off. Share your callback and webhook URLs with the integration team for whitelisting before going live.


Troubleshooting

Payment succeeded but customer wasn't redirected to my callback URL

The callback redirect depends on the customer's browser. Always configure webhooks as the primary mechanism for payment confirmation.


The signature verification is failing

Ensure you're: (1) sorting callback parameters alphabetically by key, (2) joining with &, (3) using HmacSHA256 with the correct secret_key, and (4) comparing the result in uppercase.


Getting "Payment processor is unavailable" error

This is a transient error from the payment processor. Retry the payment. If persistent, contact support.


How do I contact support?

For integration support: pgintegration@pinelabs.com. For general support: pgsupport@pinelabs.com.


Related pages

New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with + E