Cashfree payment gateway is configured and ready to accept payments. The backend functions createCashfreeOrder and cashfreeWebhook are already set up.
import CashfreePayButton from "@/components/billing/CashfreePayButton";
<CashfreePayButton
amount={1000}
orderId="ORDER-123"
customerDetails={{
customer_name: "John Doe",
customer_email: "john@example.com",
customer_phone: "9876543210"
}}
onSuccess={(data) => console.log('Success:', data)}
onError={(error) => console.error('Error:', error)}
/>The component handles:
Install HarmonySuite
Add to home screen for the best experience