Pay.nl
-
Login to my.pay.nl to copy
sales location
andsales location secret
You can find these in the dashboard
-
Setup environment variables
.env PAYNL_SERVICE_LOCATION=123PAYNL_SERVICE_LOCATION_SECRET=123 -
Setup payment method for frontend in
lib/loadcontext.ts
src/lib/loadcontext.ts import { dummypayments } from "./dummypayments";import { paynlpayments } from "./paynl";...(base as ContextScope).payment = dummypayments(base);(base as ContextScope).payment = paynlpayments(base); -
Go through checkout and complete test payment
Use your
sales location secret
as the secret for the test payment -
Check incoming payments in PayNL dashboard