Skip to content

Commit

Permalink
Merge pull request #59 from razorpay/easy_signup_link
Browse files Browse the repository at this point in the history
Added easy signup link and checkout instrumentation for plugin.
  • Loading branch information
yashgit891 authored Nov 22, 2022
2 parents 10d138e + 4abf178 commit 461e021
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion class-gf-razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ public function plugin_settings_fields()
return array(
array(
'title' => 'Razorpay Settings',
'description' => __('First <a href="https://easy.razorpay.com/onboarding?recommended_product=payment_gateway&source=gravityform" target="_blank">signup</a> for a
Razorpay account or <a href="https://dashboard.razorpay.com/signin?screen=sign_in&source=gravityform" target="_blank">login</a> if you have an existing account.'),
'fields' => array(
array(
'name' => self::GF_RAZORPAY_KEY,
Expand Down Expand Up @@ -438,7 +440,8 @@ public function generate_razorpay_form($entry, $form)
"_" => array(
'integration' => "gravityforms",
'integration_version' => GF_RAZORPAY_VERSION,
'integration_parent_version' => GFForms::$version
'integration_parent_version' => GFForms::$version,
'integration_type' => 'plugin',
),
'order_id' => $entry[self::RAZORPAY_ORDER_ID],
'callback_url' => $callbackUrl,
Expand Down

0 comments on commit 461e021

Please sign in to comment.