Setting up Stripe
By Setting up Stripe, you can easily make an online payment gateway that lets businesses safely accept credit cards, debit cards, and other digital payment methods. With Stripe integration in ERPNext v16, you can collect online payments directly against Payment Requests, Sales Invoices, and Subscriptions. This makes it easy and automatic to Collect payments.
To get Stripe working in ERPNext, go to:
Go to Integrations > Stripe Settings
Set up Stripe
You need to set up the API credentials that Stripe gives you in order to use the Stripe payment service. These credentials link your ERPNext account to your Stripe account and let you process payments safely. The following parameters are needed:
- Key to Publish – Used by the client to start payments
- Secret Key: This is used on the server side to safely approve and process payments.
You can get these keys from your Stripe Dashboard. Be careful when you enter them, as they control who can access your Stripe account.
When you turn on the Stripe service, ERPNext automatically does the following:
- Makes a Payment Gateway record for Stripe
- Adds an Account Head to the Chart of Accounts with the Account Type set to Bank
This makes sure that your accounting system properly records all Stripe payments that come in.
ERPNext also makes an entry for a Payment Gateway Account. The Payment Gateway Account is a central place where you can set up everything you need to do:
- Connect the Stripe gateway to a Bank or Clearing Account that is already in your Chart of Accounts.
- Set up the default template for the body of the Payment Request email
- Manage how Stripe payments are posted, tracked, and settled
After you set up the Payment Gateway Account, your ERPNext system will be able to accept online payments through Payment Requests and the Customer Portal using Stripe.
Set up subscription plans
You can use Stripe’s subscription and recurring billing system with ERPNext if you need to bill customers on a regular basis instead of just once.
In your Stripe account, the first thing you need to do is make your billing plans (Prices / Plans). These set the amount that will be charged on a regular basis, the billing period (monthly, yearly, etc.), and the currency.
After you make the billing plans in Stripe, you need to add one or more new Payment Plans in ERPNext (Frappe). These Payment Plans connect ERPNext to Stripe’s subscription plans in a way that makes sense.
After this is set up:
- When you make a Payment Request in ERPNext, check the box that says “Is a Subscription.”
- Choose the right Payment Plan
- The system will automatically get the details of the subscription plan that goes with it.
When you submit, ERPNext will automatically create and manage a subscription for the customer in Stripe. This means that invoices and payments will be handled correctly every time without any work on your part.
Supporting currencies for transactions
ERPNext v16’s integration with Stripe supports a wide range of international currencies, so businesses can accept payments from all over the world. These currencies are supported:
“AED,” “ALL,” “ANG,” “ARS,” “AUD,” “AWG,” “BBD,” “BDT,” “BIF,” “BMD,” “BND,” “BOB,” “BRL,” “BSD,” “BWP,” “BZD,” “CAD,” “CHF,” “CLP,” “CNY,” “COP,” “CRC,” “CVE,” “CZK,” “DJF,” “DKK,” “DOP,” “DZD,” “EGP,” “ETB,” “EUR,” “FJD,” “FKP,” “GBP,” “GIP,” “GMD,” “GNF,” “GTQ,” “GYD,” “HKD,” “HNL,” “HRK,” “HTG,” “HUF,” “IDR,” “ILS,” “INR,” “ISK,” “JMD,” “JPY,” “KES,” “KHR,” “KMF,” “KRW,” “KYD,” “KZT,” “LAK,” “LBP,” “LKR,” “LRD,” “MAD,” “MDL,” “MNT,” “MOP,” “MRO,” “MUR,” “MVR,” “MWK,” “MXN,” “MYR,” “NAD,” “NGN,” “NIO,” “NOK,” “NPR,” “NZD,” “PAB,” “PEN,” “PGK,” “PHP,” “PKR,” “PLN,” “PYG,” “QAR,” “RUB,” “SAR,” “SBD,” “SCR,” “SEK,” “SGD,” “SHP,” “SLL,” “SOS,” “STD,” “SVC,” “SZL,” “THB,” “TOP,” “TTD,” “TWD,” “TZS,” “UAH,” “UGX,” “USD,” “UYU,” “UZS,” “VND,” “VUV,” “WST,” “XAF,” “XOF,” “XPF,” “YER,” “ZAR”
For payments to go through, the currency used for the transaction must be turned on in both your Stripe account and ERPNext.
Businesses can make secure online payments, automate recurring billing, and keep their accounting and reconciliation accurate with little manual work if they set up Stripe correctly in ERPNext v16.