Skip to content

razorpay/razorpay-gravity-forms

Repository files navigation

=== Razorpay for Gravity Forms ===
Contributors: razorpay
Tags: razorpay, payments, india, gravityforms, ecommerce
Requires at least: 3.9.2
Tested up to: 6.1.1
Stable tag: 1.3.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allows you to use Razorpay payment gateway with the gravity forms plugin.

== Description ==

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.

== Installation ==

1. Install the plugin from the [Wordpress Plugin Directory](Need to specify url).
2. 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.
3. 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.

== Dependencies ==

1. Wordpress v3.9.2 and later
2. Gravity Forms v1.9.3 and later
3. PHP v5.6.0 and later
4. php-curl

== Configuration ==

1. Visit the Gravity Forms settings page, and click on the Razorpay tab.
2. Add in your Key Id and Key Secret.

== 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 =
* Bug fix

= 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

== Support ==

Visit [razorpay.com](https://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.