Workfile Store

Payments & Billing

Accept payments via Razorpay, configure gateways, and manage GST-compliant invoicing.

Workfile Store supports online payments through Razorpay and configurable payment gateways. Accept UPI, cards, wallets, and net banking — with automatic GST-compliant invoice generation.

Payment methods

All payments are processed through Razorpay with support for:

MethodExamples
UPIGoogle Pay, PhonePe, Paytm, BHIM
CardsVisa, Mastercard, RuPay (credit & debit)
WalletsPaytm, Mobikwik, Freecharge
Net bankingAll major Indian banks
EMICredit card EMI options
CODCash on Delivery (configurable)

All prices in Workfile Store are in INR. Prices are stored in paisa internally (₹499 = 49900 paisa) for precision, but always displayed as formatted rupee values to merchants and customers.

Setting up payments

Create a Razorpay account

Sign up at razorpay.com and complete KYC verification. You'll need your Key ID and Key Secret from the Razorpay dashboard.

Install the Razorpay app

Go to Settings → Apps and install the Razorpay Payments app. This provides the richest configuration experience.

Enter your credentials

FieldWhere to find it
Key IDRazorpay Dashboard → Settings → API Keys
Key SecretShown once when generating the key

Configure payment options

Set up COD rules, online payment discounts, and webhook URLs for real-time payment status updates.

You can also connect Razorpay directly from Settings → Payments using the BYOK (Bring Your Own Key) approach. The app provides additional features like COD configuration and online payment discounts.

Checkout flow

When a customer checks out:

  1. They enter shipping and billing details
  2. Choose a payment method (UPI, card, etc.)
  3. Complete payment through Razorpay's secure checkout
  4. Order is created with payment status automatically updated

Guest checkout

Customers can buy without creating an account. Their name, email, phone, and address are captured on the order.

One-page checkout

The checkout is a single streamlined page to reduce abandonment — address, payment method, and order summary all in one view.

COD (Cash on Delivery)

When configured through the Razorpay app:

SettingDescription
Enable CODAllow cash on delivery as a payment option
COD minimumMinimum order value for COD
COD maximumMaximum order value for COD
COD feeAdditional charge for COD orders

GST invoicing

Workfile automatically generates GST-compliant invoices for every order:

Invoice fieldSource
Invoice numberAuto-generated sequential number
GSTINFrom your billing profile
HSN codesFrom product HSN code field
Tax breakdownCalculated based on product tax rates
Business detailsFrom your store settings

Update your GST details from Settings → Billing → Billing Profile. Your GSTIN and business name appear on all invoices.

Subscription billing

Your Workfile subscription (the plan that powers your store) is managed separately from customer payments:

  • Customer payments — processed through your Razorpay account, money goes to you
  • Subscription billing — your Workfile plan fee, managed from Settings → Billing

For details on managing your Workfile subscription, see Billing & Plans.

Webhooks

Razorpay webhooks provide real-time payment status updates. When configured, your store automatically receives notifications for:

  • Payment authorized
  • Payment captured
  • Payment failed
  • Refund processed

The webhook URL is shown in the Razorpay app settings. Add it to your Razorpay dashboard under Settings → Webhooks.

Always configure webhooks for reliable payment tracking. Without them, payment status updates depend on the customer's browser completing the redirect — which can fail if they close the tab early.

On this page