import { StartPayButton, StartPayProvider } from "startbutton-payment-gateway"; export const AdvancedCustomizationExample = () => ( { console.log("Launching checkout with status", controls.lastStatus); await controls.launchPaymentFlow(); }} onPaymentAuthorized={(response) => console.log("Payment authorized", response)} onPaymentDeclined={(response) => console.log("Payment declined", response)} onPaymentPendingReview={(response) => console.log("Payment pending", response)} onPaymentAborted={(response) => console.log("Payment cancelled", response)} onPaymentException={(response) => console.log("Payment exception", response)} onPaymentSettled={(response) => console.log("Payment settled", response)} > Pay Securely );