Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
AdonisJS용 다중 게이트웨이 결제 및 캐셔형 청구, 18개 게이트웨이 지원, 전 세계 결제 및 송장 발행
Multi-gateway payments and Cashier-style billing for AdonisJS — 18 gateways behind one driver contract, across Brazil, Europe, North America, Latin America and India, with invoice emission, method rou
개발 도구GitHub @DavideCarvalho온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Multi-gateway payments and Cashier-style billing for AdonisJS — 18 gateways behind one driver contract, across Brazil, Europe, North America, Latin America and India, with invoice emission, method routing and webhook-driven business logic.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗@adonis-agora/paymentsPayments and billing for AdonisJS — 18 gateways behind one driver contract, a Cashier-style subscription layer, idempotent webhook processing and invoice emission. Part of the Agora ecosystem.
Gateways: Asaas, AbacatePay, Woovi, Pagar.me, PagBank, Efí, InfinitePay, Mercado Pago · Stripe, Adyen, PayPal, Mollie, Razorpay, Square · Paddle, Lemon Squeezy, Polar, Dodo Payments.
node ace add @adonis-agora/payments
Configure gateways in config/payments.ts and route each payment method to one:
import env from '#start/env'
import { defineConfig, payments } from '@adonis-agora/payments'
export default defineConfig({
default: 'asaas',
providers: {
asaas: payments.asaas({
apiKey: env.get('PAYMENTS_ASAAS_KEY'),
webhookToken: env.get('PAYMENTS_ASAAS_WEBHOOK_TOKEN'),
}),
},
methods: { pix: 'asaas', credit_card: 'asaas' },
})
Then charge through the routed driver:
import { getPayments } from '@adonis-agora/payments/services/main'
const payments = getPayments()
const customer = await payments.driver('pix').createCustomer({
name: 'Jane Doe',
email: '[email protected]',
taxId: '123.456.789-00',
})
const payment = await payments.driver('pix').charge({
customerId: customer.id,
amount: 1990, // integer cents: R$ 19,90
externalReference: order.id, // your own row; comes back on every webhook for this charge
})
// payment.pixCode → the copy-paste BR code to show the customer
Gateways, webhooks, subscriptions and billing, invoices, testing and production notes: https://davidecarvalho.github.io/agora/docs/payments
Every Agora library is MIT and stays free. The work is funded by partners and sponsors — become one.
MIT