Skip to content

Commit 7838dc1

Browse files
committed
added notify_url & optional CPF
1 parent 899b6ff commit 7838dc1

2 files changed

Lines changed: 664 additions & 707 deletions

File tree

form_fields.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
'description' => __('3D Secure or Non 3D Secure (WORK ONLY WITH DIRECT INTEGRATION METHOD)', 'wc-payneteasy'),
7575
'default' => 'no'
7676
],
77+
'require_ssn' => [
78+
'title' => __('Require CPF', 'wc-payneteasy'),
79+
'type' => 'checkbox',
80+
'label' => __('Require Document Number (CPF)', 'wc-payneteasy'),
81+
'description' => __('Show CPF input field at checkout page', 'wc-payneteasy'),
82+
'default' => 'no'
83+
],
7784
'live_url' => [
7885
'title' => __('Gateway url (LIVE)', 'wc-payneteasy'),
7986
'type' => 'text',
@@ -85,6 +92,12 @@
8592
'type' => 'text',
8693
'description' => __("https://sandbox.payneteasy.com/ etc.", 'wc-payneteasy'),
8794
'placeholder' => __('Enter sandbox url.', 'wc-payneteasy'),
95+
],
96+
'notify_url' => [
97+
'title' => __('Notify url', 'wc-payneteasy'),
98+
'type' => 'text',
99+
'description' => __('Notify gate url sprintf mask, order_id being parameter', 'wc-payneteasy'),
100+
'placeholder' => __('Enter notify gate url mask.', 'wc-payneteasy'),
88101
],
89102
'transaction_end' => [
90103
'title' => __('Successful transaction order status', 'wc-payneteasy'),

0 commit comments

Comments
 (0)