WordPress.org

Making WordPress.org

Changeset 4153


Ignore:
Timestamp:
09/28/16 12:38:37 (12 months ago)
Author:
kovshenin
Message:

WordCamp.org: Filter Stripe credentials for upcoming sponsorship payments form.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php

    r2514 r4153  
    265265    return $options; 
    266266}); 
     267 
     268// Sponsorship payments (Stripe) credentials. 
     269add_filter( 'wcorg_sponsor_payment_stripe', function( $options ) { 
     270    $options['hmac_key'] = WORDCAMP_PAYMENT_STRIPE_HMAC; 
     271    $options['publishable'] = WORDCAMP_PAYMENT_STRIPE_PUBLISHABLE; 
     272    $options['secret'] = WORDCAMP_PAYMENT_STRIPE_SECRET; 
     273 
     274    return $options; 
     275}); 
Note: See TracChangeset for help on using the changeset viewer.