env
# to enable stripe
STRIPE_PAYMENT_DESC=mycompany
STRIPE_SECRET=xxxxxx
STRIPE_ENDPOINT_SECRET=xxxxxx
# to enable nowpayments for crypto
NOWPAYMENTS_KEY=
NOWPAYMENTS_SECRET_IPN=xxxxx # for verifying the webhooks
NOWPAYMENTS_CALLBACK_URL=xxxxxx # for webhooks
How to use
import roadman from "roadman";
import { stripeRoadman, nowPaymentsRoadman, getWalletResolvers, getNowPaymentsResolvers} from "@roadmanjs/wallet"
roadman({
roadmen: [stripeRoadman, nowPaymentsRoadman],
resolvers: [...myresolvers, ...getWalletResolvers(), ...getNowPaymentsResolvers()]
});