Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Accept an FPX payment


Accept an FPX payment

Learn how to accept FPX, a common payment method in Malaysia.

Checkout

Elements

Mobile

FPX is a single-use payment method. Customers pay with FPX by redirecting from your website, sending you payment, then returning to your website where you get immediate notification on whether the payment succeeded or failed.

Determine compatibility

A Checkout Session must satisfy all of the following conditions to support FPX payments:

  • Prices for all line items must be in the same currency. If you have line items in different currencies, create separate Checkout Sessions for each currency.
  • You can only use one-time line items (recurring subscription plans aren’t supported).

Accept a payment

Note

Build an integration to accept a payment with Checkout before using this guide.

Enable FPX as a payment method

When creating a new Checkout Session, you need to:

  1. Enable FPX in your Dashboard. Stripe automatically displays FPX to eligible customers using dynamic payment methods . If you currently specify payment _ method _ types , see the migration guide .
  2. Make sure all your line _ items use the myr currency.

Command Line

Select a language

cURL

Stripe CLI

Ruby

Python

PHP

Java

Node.js

Go

.NET

No results

Fulfill your orders

After accepting a payment, learn how to fulfill orders.

Confirmation page

FPX requires showing your customer their transaction information after they’ve completed their payment. Follow the custom success page guide to learn how to customize your success page.

When customizing, you’ll need to retrieve the Charge object directly from the PaymentIntent object using the PaymentIntent ID from your Checkout Session and display the following information on your success_url page.

InformationSource of information
Transaction Date & Timecreated from the Charge object.
Amountamount from the Charge object.
Seller Order No.statement_descriptor from the Charge object.
FPX Transaction IDpayment_method_details[fpx][transaction_id] from the Charge object.
Buyer Bank Namepayment_method_details[fpx][bank] from the Charge object
Transaction Statusstatus from the Charge object

Test your integration

When testing your Checkout integration, select FPX as the payment method and click the Pay button.

Handle refunds and disputes

The refund period for FPX is up to 60 days after the original payment.

There is no dispute process—customers authenticate with their bank.

See also

Last verified 2026-09-24

Is this helpful?