Razorpay for Gravity Forms Plugin
Allows you to use Razorpay payment gateway with the gravity forms plugin.
This is the official Razorpay payment gateway plugin for Gravity Forms. Allows you to accept credit cards, debit cards, netbanking and wallets with the gravity forms plugin. It uses a seamles integration, allowing the customer to pay on your website without being redirected away from your website.
This is compatible with version greater than 1.9.3 gravity forms.
Dependencies
- WordPress v3.9.2 and later
- Gravity Forms v1.9.3 and later
- PHP v5.6.0 and later
- php-curl
Configuration
- Visit the Gravity Forms settings page, and click on the Razorpay tab.
- Add in your Key Id and Key Secret.
Support
Visit razorpay.com for support requests or email us at integrations@razorpay.com.
License
The Razorpay Gravity Forms plugin is released under the GPLv2 license, same as that
of WordPress. See the LICENSE file for the complete LICENSE text.
Installation
- Install the plugin from the [Wordpress Plugin Directory](Need to specify url).
- To use this plugin correctly, you need to be able to make network requests. Please make sure that you have the php-curl extension installed.
There are 2 action hooks available corresposding to payment failed and payment success. By using these hooks, corresponding action can be implemanted.
a) gform_razorpay_fail_payment with 2 params ($entry, $feed)
b) gform_razorpay_complete_payment with 4 params ($payment_transaction_id,$amount, $entry, $feed)
Above mentioned hooks can be used to handle the success and failure cases of the payment.
Changelog
1.3.5
- added currency code for INR
1.3.4
- added skip on callback if status is already marked as success
- allowing to update payment status when order.paid event is triggered to Paid
1.3.3
- Added easy signup link on plugin settings page
- Added integration_type for checkout instrumentation
- Tested up to wordpress 6.1.1
1.3.2
- Update latest sdk 2.8.1
- Feature Auto Enable Webhook
1.3.1
- Update latest sdk 2.8.1
- Added confirmation message in callback page.
- Removed auto redirect.
1.3.0
- Handle the redirection page after payment.
1.2.2
- Added notes about action hooks available corresponging to payment.
1.2.1
1.2.0
- Added Meta-data for internal analysis.
- Added webhook support for “order.paid”.
1.1.1
- Handle non payment form submit
- Handle error if configuration is mismatch.
1.1.0
- Add admin notification event to choose email notification after form submit or payment complete
- Update latest sdk 2.5.0