Configuration

Version: 1.0.9

Configuration

Create or open the Razorpay payment method, then paste the keys for the mode you are using.

  1. Go to Components > Phoca Cart > Payment and click New, or open the existing Razorpay method.
  2. On General Options, enter a title, choose Razorpay - Phoca Cart in Payment Method, set Published, and choose Access and Customer Group. You can also set a fee, tax, image, and description.
  3. Click Save once so the method gets an ID. You need that ID in the webhook URL.
  4. Open Payment Method Options, fill in the settings, and click Save & Close.

The screen shows only the key fields for the selected mode.

Settings
SettingWhat it does
ModeTest or Live. Only the keys for the selected mode are used. New methods start in Test.
Key ID and Key SecretTest keys while Mode is Test (rzp_test_). Live keys while Mode is Live (rzp_live_).
Webhook secretThe secret you typed when creating the webhook for that mode.
Accepted currenciesComma-separated codes. INR is always accepted. Add others, such as USD or EUR, only if International Payments is enabled on the Razorpay account. If the cart currency is not in the list, Razorpay is not offered. Default: INR.
Name shown in the Razorpay windowYour store name at the top of the payment window. Leave empty to use the Razorpay default.
Razorpay window colourAccent colour as a hex code. Default: #1819ED.
Open Razorpay window automaticallyYes (default) opens the window when the payment page loads. No shows a Pay now with Razorpay button.
Show Razorpay logoNo by default. Yes shows the bundled Razorpay logo when the method has no image of its own. An image you set yourself always stays.
Order status when paid, failed, or fully refundedDefaults: Completed, Failed, and Refunded.
Debug logYes writes extra detail. Keep it off on a live store unless you are troubleshooting.

Use dummy keys in any screenshot. Never publish a screen that shows real secrets.

Phoca Cart payment form with Razorpay - Phoca Cart selected

Phoca Cart payment list