Skip to content

Always show "Disable Recurring Payments", not just in "Debug Mode" #165

@remcotolsma

Description

@remcotolsma

Today I had to alert a customer to this setting, and I noticed that we only show this setting in debug mode.

Internal HelpScout ticket: https://secure.helpscout.net/conversation/2454026625/26654?viewId=1425710

if ( $this->plugin->is_debug_mode() || $this->plugin->subscriptions_module->is_processing_disabled() ) {
\add_settings_field(
'pronamic_pay_subscriptions_processing_disabled',
\__( 'Disable Recurring Payments', 'pronamic_ideal' ),
[ $this, 'input_checkbox' ],
'pronamic_pay',
'pronamic_pay_general',
[
'legend' => \__( 'Disable starting recurring payments at gateway', 'pronamic_ideal' ),
'description' => \__( 'Disable starting recurring payments at gateway', 'pronamic_ideal' ),
'label_for' => 'pronamic_pay_subscriptions_processing_disabled',
'type' => 'checkbox',
]
);
}

The customer gave feedback that this is 'strange':

had de optie Disable starting recurring payments at gateway ook niet gezien want eerst moet je de debug mode inschakelen om dit te kunnen zien, dat vind ik vreemd.

I agree with that, should we always show this option? How do you see this @rvdsteege?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions