Fatal Error Stripe Add On w/ GravityFlow Stripe Capture Step

Error occurs with an ‘Active’ capture payment GravityFlow workflow step. No error when step is ‘Inactive’.

Versions
GravityForms 2.8.9
GravityForms Stripe 5.6.0
GravityFlow 2.9.6
GravityFlow Stripe 2.0.0

No issue with the following versions installed

GravityForms 2.8.7.2
GravityForms Stripe 5.5.1
GravityFlow 2.9.6
GravityFlow Stripe 2.0.0

Error Details
=============
An error of type E_ERROR was caused in line 7202 of the file /nas/content/live/elevatordev/wp-content/plugins/gravityformsstripe/class-gf-stripe.php. Error message: Uncaught Error: Call to undefined function rggpost() in /nas/content/live/elevatordev/wp-content/plugins/gravityformsstripe/class-gf-stripe.php:7202
Stack trace:
#0 /nas/content/live/elevatordev/wp-content/plugins/gravityformsstripe/includes/payment-element/class-gf-payment-element.php(136): GFStripe->get_payment_element_capture_method(Array, Array)
#1 /nas/content/live/elevatordev/wp-content/plugins/gravityformsstripe/class-gf-stripe.php(3238): GF_Stripe_Payment_Element->get_initial_payment_information(Array, Array)
#2 /nas/content/live/elevatordev/wp-includes/class-wp-hook.php(326): GFStripe->register_init_scripts(Array, '', false)
#3 /nas/content/live/elevatordev/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /nas/content/live/elevatordev/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/gravityforms.php(7075): do_action('gform_register_...', Array, '', false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
#6 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/form_display.php(3646): gf_do_action('gform_register_...', Array, '', false)
#7 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/form_display.php(1507): GFFormDisplay::register_form_init_scripts(Array, '', false)
#8 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/gravityforms.php(3346): GFFormDisplay::get_form('1', false, false, false, '', false, 0, 'orbital', NULL)
#9 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/gravityforms.php(6771): GFForms::get_form('1', false, false, false, '', false, 0, NULL, NULL)
#10 /nas/content/live/elevatordev/wp-content/plugins/gravityforms/includes/blocks/class-gf-block-form.php(239): gravity_form('1', false, false, false, '', false, 0, false)
#11 /nas/content/live/elevatordev/wp-includes/class-wp-block.php(258): GF_Block_Form->render_block(Array, '', Object(WP_Block))
#12 /nas/content/live/elevatordev/wp-includes/blocks.php(1484): WP_Block->render()
#13 /nas/content/live/elevatordev/wp-includes/blocks.php(1522): render_block(Array)
#14 /nas/content/live/elevatordev/wp-includes/class-wp-hook.php(324): do_blocks('

line 7202 gravityformsstripe/class-gf-stripe.php

	if ( $authorization_only ) {
			$this->log_debug( __METHOD__ . '(): The gform_stripe_payment_element_authorization_only filter was used to prevent capture tracking id:' . md5( rggpost( 'state_' . rgar( $form, 'id' ) ) ) );

			return 'manual';
		}

method is rgpost(), not rggpost(). patch needed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.