Accept more payments, reduce processor dependency, and protect recurring revenue with one SDK for checkout, vaulting, PayPal, Stripe, wallets, and alternative payment methods. Built for today’s customers, ready for tomorrow’s agent-led commerce.
import { configureFlopay } from '@flopay/shared';
import { FloPayCheckout } from '@flopay/react';
configureFlopay({environment: 'staging'});
export default function Checkout() {
return (
<FloPayCheckout
createSession={checkoutParams}
layout="buttons"
onComplete={() => {
window.location.href = '/success';
}}
onError={(error) => {
console.error('Payment failed:', error.message);
}}
/>
);
}