@@ -153,7 +153,7 @@ static function pmpro_payment_option_fields($values, $gateway)
153153 {
154154 _deprecated_function ( __METHOD__ , '3.5 ' );
155155 ?>
156- <tr class="pmpro_settings_divider gateway gateway_paypal gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
156+ <tr class="pmpro_settings_divider gateway gateway_paypalwpp gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
157157 <td colspan="2">
158158 <hr />
159159 <h2 class="title"><?php esc_html_e ( 'PayPal Settings ' , 'paid-memberships-pro ' ); ?> </h2>
@@ -177,39 +177,39 @@ static function pmpro_payment_option_fields($values, $gateway)
177177 </div>
178178 </td>
179179 </tr>
180- <tr class="gateway gateway_paypal gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
180+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
181181 <th scope="row" valign="top">
182182 <label for="gateway_email"><?php esc_html_e ('Gateway Account Email ' , 'paid-memberships-pro ' );?> </label>
183183 </th>
184184 <td>
185185 <input type="text" id="gateway_email" name="gateway_email" value="<?php echo esc_attr ($ values ['gateway_email ' ])?> " class="regular-text code" />
186186 </td>
187187 </tr>
188- <tr class="gateway gateway_paypal gateway_paypalexpress" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
188+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
189189 <th scope="row" valign="top">
190190 <label for="apiusername"><?php esc_html_e ('API Username ' , 'paid-memberships-pro ' );?> </label>
191191 </th>
192192 <td>
193193 <input type="text" id="apiusername" name="apiusername" value="<?php echo esc_attr ($ values ['apiusername ' ])?> " class="regular-text code" />
194194 </td>
195195 </tr>
196- <tr class="gateway gateway_paypal gateway_paypalexpress" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
196+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
197197 <th scope="row" valign="top">
198198 <label for="apipassword"><?php esc_html_e ('API Password ' , 'paid-memberships-pro ' );?> </label>
199199 </th>
200200 <td>
201201 <input type="text" id="apipassword" name="apipassword" value="<?php echo esc_attr ($ values ['apipassword ' ])?> " autocomplete="off" class="regular-text code pmpro-admin-secure-key" />
202202 </td>
203203 </tr>
204- <tr class="gateway gateway_paypal gateway_paypalexpress" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
204+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
205205 <th scope="row" valign="top">
206206 <label for="apisignature"><?php esc_html_e ('API Signature ' , 'paid-memberships-pro ' );?> </label>
207207 </th>
208208 <td>
209209 <input type="text" id="apisignature" name="apisignature" value="<?php echo esc_attr ($ values ['apisignature ' ])?> " class="regular-text code" />
210210 </td>
211211 </tr>
212- <tr class="gateway gateway_paypal gateway_paypalexpress" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
212+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " ) { ?> style="display: none;"<?php } ?> >
213213 <th scope="row" valign="top">
214214 <label for="paypalexpress_skip_confirmation"><?php esc_html_e ('Confirmation Step ' , 'paid-memberships-pro ' );?> </label>
215215 </th>
@@ -220,7 +220,7 @@ static function pmpro_payment_option_fields($values, $gateway)
220220 </select>
221221 </td>
222222 </tr>
223- <tr class="gateway gateway_paypal gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypal " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
223+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress gateway_paypalstandard" <?php if ($ gateway != "paypalwpp " && $ gateway != "paypalexpress " && $ gateway != "paypalstandard " ) { ?> style="display: none;"<?php } ?> >
224224 <th scope="row" valign="top">
225225 <label><?php esc_html_e ('IPN Handler URL ' , 'paid-memberships-pro ' );?> </label>
226226 </th>
@@ -248,7 +248,7 @@ public static function show_settings_fields() {
248248 );
249249 ?>
250250 </p>
251- <div id="pmpro_paypal " class="pmpro_section" data-visibility="shown" data-activated="true">
251+ <div id="pmpro_paypalexpress " class="pmpro_section" data-visibility="shown" data-activated="true">
252252 <div class="pmpro_section_toggle">
253253 <button class="pmpro_section-toggle-button" type="button" aria-expanded="true">
254254 <span class="dashicons dashicons-arrow-up-alt2"></span>
@@ -258,39 +258,39 @@ public static function show_settings_fields() {
258258 <div class="pmpro_section_inside">
259259 <table class="form-table">
260260 <tbody>
261- <tr class="gateway gateway_paypal gateway_paypalexpress gateway_paypalstandard">
261+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress gateway_paypalstandard">
262262 <th scope="row" valign="top">
263263 <label for="gateway_email"><?php esc_html_e ('Gateway Account Email ' , 'paid-memberships-pro ' );?> </label>
264264 </th>
265265 <td>
266266 <input type="text" id="gateway_email" name="gateway_email" value="<?php echo esc_attr ( get_option ( 'pmpro_gateway_email ' ) ); ?> " class="regular-text code" />
267267 </td>
268268 </tr>
269- <tr class="gateway gateway_paypal gateway_paypalexpress">
269+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress">
270270 <th scope="row" valign="top">
271271 <label for="apiusername"><?php esc_html_e ('API Username ' , 'paid-memberships-pro ' );?> </label>
272272 </th>
273273 <td>
274274 <input type="text" id="apiusername" name="apiusername" value="<?php echo esc_attr ( get_option ( 'pmpro_apiusername ' ) ); ?> " class="regular-text code" />
275275 </td>
276276 </tr>
277- <tr class="gateway gateway_paypal gateway_paypalexpress">
277+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress">
278278 <th scope="row" valign="top">
279279 <label for="apipassword"><?php esc_html_e ('API Password ' , 'paid-memberships-pro ' );?> </label>
280280 </th>
281281 <td>
282282 <input type="text" id="apipassword" name="apipassword" value="<?php echo esc_attr ( get_option ( 'pmpro_apipassword ' ) ); ?> " autocomplete="off" class="regular-text code pmpro-admin-secure-key" />
283283 </td>
284284 </tr>
285- <tr class="gateway gateway_paypal gateway_paypalexpress">
285+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress">
286286 <th scope="row" valign="top">
287287 <label for="apisignature"><?php esc_html_e ('API Signature ' , 'paid-memberships-pro ' );?> </label>
288288 </th>
289289 <td>
290290 <input type="text" id="apisignature" name="apisignature" value="<?php echo esc_attr ( get_option ( 'pmpro_apisignature ' ) ); ?> " class="regular-text code" />
291291 </td>
292292 </tr>
293- <tr class="gateway gateway_paypal gateway_paypalexpress">
293+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress">
294294 <th scope="row" valign="top">
295295 <label for="paypalexpress_skip_confirmation"><?php esc_html_e ('Confirmation Step ' , 'paid-memberships-pro ' );?> </label>
296296 </th>
@@ -301,7 +301,7 @@ public static function show_settings_fields() {
301301 </select>
302302 </td>
303303 </tr>
304- <tr class="gateway gateway_paypal gateway_paypalexpress gateway_paypalstandard">
304+ <tr class="gateway gateway_paypalwpp gateway_paypalexpress gateway_paypalstandard">
305305 <th scope="row" valign="top">
306306 <label><?php esc_html_e ('IPN Handler URL ' , 'paid-memberships-pro ' );?> </label>
307307 </th>
0 commit comments