| [ Web Proxy ] |
| Viewing: https://docs.stripe.com/payments/grabpay/accept-a-payment | [Back] [Original] |
Subscriptions and using GrabPay for future payments arent currently supported. Reach out to Stripe support for any support queries on these features.
GrabPay is a single-use payment method. Customers pay with GrabPay by redirecting from your website to GrabPay to authorize the payment. After that, they will automatically be redirected back to your website. Youll get immediate notification on whether the payment succeeded or failed.
Assets such as logos and payment buttons are provided in the branding guidelines section.
A Checkout Session must satisfy all of the following conditions to support GrabPay payments:
sgd currency is supported for businesses based in Singapore.myr currency is supported for businesses based in Malaysia.This guide builds on the foundational accept a payment Checkout integration.
When creating a new Checkout Session, you need to:
payment_method_types, see the migration guide.line_items use the same currency.curl https://api.stripe.com/v1/checkout/sessions \ -u "sk_test_wU7nrJCZspk1NPDxiQgAF05q:" \ -d "line_items[0][price_data][currency]=sgd" \ -d "line_items[0][price_data][product_data][name]=T-shirt" \ -d "line_items[0][price_data][unit_amount]=2000" \ -d "line_items[0][quantity]=1" \ -d mode=payment \ --data-urlencode "success_url=https://example.com/success"
After accepting a payment, learn how to fulfill orders.
When testing your Checkout integration, select GrabPay as the payment method and click the Pay button.
| Web Proxy Viewer | New URL | Original Page |