Razorpay and pay by invoice

Updated

WPInterface LMS Pro adds two payment methods to LMS → Payments: Razorpay, and pay by invoice for organisations that order on terms.

Stripe, PayPal and offline payments are in the free edition. See Before you sell.

Razorpay

Razorpay has its own card on LMS → Payments. Buyers pay on Razorpay’s page. The card has these fields:

FieldWhat it does
Accept RazorpayTurns the method on at checkout.
Name at checkoutWhat buyers see for this method.
ModeTest: no real money moves or Live. It starts in test mode.
Test key ID and Test key secretYour test keys, from Razorpay Dashboard → Account & Settings → API keys in Test mode.
Live key ID and Live key secretYour live keys.
Webhook secretThe secret you chose for the webhook in Razorpay.

The card shows a webhook address. Add it in Razorpay with the payment_link.paid, refund.processed and subscription events, and the secret you chose there.

Test and live mode

In test mode no real money moves. Switch Mode to Live and enter your live keys before you sell.

Pay by invoice

Pay by invoice lets organisations order on terms. The order waits until you mark it paid on LMS → Orders; access starts when it is paid. Its card on LMS → Payments has these fields:

FieldDefaultWhat it does
Let organisations pay by invoiceOffTurns the method on at checkout.
Name at checkoutEmptyWhat buyers see for this method.
Days to pay30How long the organisation has to pay.
Ask for the organisation’s nameOnBuyers must enter their organisation’s name under “Business details” to pay by invoice.
Payment details on the invoiceEmptyBank account, the reference to quote, and anything else the payer needs.

At checkout, buyers open Buying for an organisation? Add business details and enter their Organisation, and if they wish a tax or VAT number, billing address and purchase order number. These are printed on the invoice.

Every order to be paid by invoice gets a numbered invoice. When the money arrives, mark the order paid; see Orders and refunds. To refund an invoice payment, return the money yourself, then record the refund.

Was this page helpful?