We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4d82fe commit 54561b2Copy full SHA for 54561b2
1 file changed
includes/Bogus_Gateway.php
@@ -150,12 +150,13 @@ public function payment_fields() {
150
parent::payment_fields();
151
152
woocommerce_form_field( "{$this->id}_payment_result", [
153
- 'type' => 'select',
154
- 'label' => __( 'Result', 'woocommerce-dev-helper' ),
155
- 'options' => [
+ 'type' => 'select',
+ 'label' => __( 'Result', 'woocommerce-dev-helper' ),
+ 'required' => true,
156
+ 'options' => [
157
self::PAYMENT_RESULT_APPROVED => __( 'Approved', 'woocommerce-dev-helper' ),
- self::PAYMENT_RESULT_DECLINED => __( 'Declined', 'woocommerce-dev-helper' ),
158
self::PAYMENT_RESULT_HELD => __( 'Held', 'woocommerce-dev-helper' ),
159
+ self::PAYMENT_RESULT_DECLINED => __( 'Declined', 'woocommerce-dev-helper' ),
160
],
161
] );
162
}
0 commit comments