Example

Prerequisites

Setup

make install

mv example.env .env and fill in .env with the values for your Stripe account.

Running

No 3DS

  • make no3DS
  • make refund
  • make no3DSBut3DSTriggers

With 3DS

Open 3 terminals and open:

  • make forwardWebhooks
  • make 3DSWebhooks

Then run and follow the instructions:

  • make trigger3DS