daravel_payments 1.26.0
daravel_payments: ^1.26.0 copied to clipboard
Payments for Daravel through Midtrans, Xendit and Stripe. Verified webhooks applied exactly once, amounts checked, events after commit, and a fake for tests.
Changelog #
1.17.0 #
- First release: Midtrans (Snap), Xendit (invoices) and Stripe (Checkout) behind
Payment.checkout(); webhooks verified as each gateway documents it (Midtrans' SHA-512 signature, Xendit's callback token, Stripe'sv1HMAC with a five-minute tolerance) and applied exactly once (idempotency log, locked row, amount check, forward-only status moves,PaymentPaid/PaymentFailed/PaymentExpired/PaymentRefunded/PaymentAmountMismatchafter commit);Payment.fake();payment:check;CreatePaymentTables; thePAYMENT_*,MIDTRANS_*,XENDIT_*andSTRIPE_*settings.