Rapyd-Samples / rapyd-checkout-invoice

Learn how you can email invoices to your customers after checking out with Rapyd in a single integration offering.

Home Page:https://community.rapyd.net/t/how-to-email-an-invoice-after-payments-are-complete/58831

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Email Invoices After Checkout

Learn how you can email invoices to your customers after checking out with Rapyd in a single integration offering.

What do you need to start

How to run the sample application

  • Log in to your Rapyd account
  • Make sure you are using the panel in "sandbox" mode (switch in the bottom left part of the panel)
  • Go to the "Developers" tab. You will find your API keys there. Copy them to the version of your sample application of your choice
  • Go to the "API Keys" page in Mailgun and grab your API key, sending domain, and sender email from there
  • Create a .env file at the root of your project and paste the following env variables in it:
RAPYD_ACCESS_KEY=
RAPYD_SECRET_KEY=
MAILGUN_API_KEY=
MAILGUN_DOMAIN=
MAILGUN_SENDER_EMAIL=
  • Add your recipient email in the the "Authorized Recipients" list on the Domains page > your sending domain in Mailgun OR make sure to use the email associated with your Mailgun account when testing the application
  • Run the application with the npm start command

Get Support

About

Learn how you can email invoices to your customers after checking out with Rapyd in a single integration offering.

https://community.rapyd.net/t/how-to-email-an-invoice-after-payments-are-complete/58831

License:MIT License


Languages

Language:JavaScript 55.1%Language:EJS 44.9%