Skip to content

Pay.nl

  1. Login to my.pay.nl to copy sales location and sales location secret

    You can find these in the dashboard

  2. Setup environment variables

    .env
    PAYNL_SERVICE_LOCATION=123
    PAYNL_SERVICE_LOCATION_SECRET=123
  3. 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);
  4. Go through checkout and complete test payment

    Use your sales location secret as the secret for the test payment

  5. Check incoming payments in PayNL dashboard