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.
- Install the plugin from the Wordpress Plugin Directory.
- 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.