WordPress.org

Plugin Directory

Changeset 1783009


Ignore:
Timestamp:
12/08/17 01:18:47 (6 weeks ago)
Author:
strangerstudios
Message:

removed the stripe secret key check

Location:
paid-memberships-pro
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • paid-memberships-pro/tags/1.9.4.2/classes/gateways/class.pmprogateway_stripe.php

    r1783003 r1783009  
    281281                <?php 
    282282                    $secret_key_prefix = substr($values['stripe_secretkey'] , 0, 3); 
    283                     if($secret_key_prefix != 'sk_') { 
     283                    //note the false here to disable this for now until we figure out a better check 
     284                    if(false && $secret_key_prefix != 'sk_') { 
    284285                    ?> 
    285286                    <br /><small class="pmpro_message pmpro_error"><?php _e('Your Secret Key appears incorrect.', 'paid-memberships-pro');?></small> 
  • paid-memberships-pro/trunk/classes/gateways/class.pmprogateway_stripe.php

    r1783003 r1783009  
    281281                <?php 
    282282                    $secret_key_prefix = substr($values['stripe_secretkey'] , 0, 3); 
    283                     if($secret_key_prefix != 'sk_') { 
     283                    //note the false here to disable this for now until we figure out a better check 
     284                    if(false && $secret_key_prefix != 'sk_') { 
    284285                    ?> 
    285286                    <br /><small class="pmpro_message pmpro_error"><?php _e('Your Secret Key appears incorrect.', 'paid-memberships-pro');?></small> 
Note: See TracChangeset for help on using the changeset viewer.