pronamic / wp-pronamic-pay-gravityforms

Gravity Forms driver for the WordPress payment processing library.
http://www.wp-pay.org/extensions/gravityforms/
10 stars 4 forks source link

Error on conditional logic checkbox toggle in payment feed #5

Closed jeffreyvr closed 3 years ago

jeffreyvr commented 3 years ago

When the checkbox for conditional logic is checked in the payment feed settings (Advanced tab), the following error occurs:

TypeError: undefined is not an object (evaluating 'e.conditionalLogic.actionType')

This results in the conditional logic options not showing up.

GravityForms v2.5.1 Pronamic Pay v6.7.1 WordPress v5.7.2

No other plugins are active.

Screenshot 2021-05-17 at 13 52 34
rvdsteege commented 3 years ago

Known issue (that seems to be introduced after the Gravity Forms 2.5 RC), we're working on a fix.

jeffreyvr commented 3 years ago

One thing I noticed was that the checkbox key is now named _gform_setting_feed_condition_conditional_logic_object while it was named _gaddon_setting_feed_condition_conditional_logic_object before. (https://github.com/wp-pay-extensions/gravityforms/blob/2085c1c7b33108d2c1f28e8b1aa839e652b7e731/src/AdminPaymentFormPostType.php#L377)