mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Merge pull request #1880 from justinr1234/export-stripe-singleton
Export stripe singleton
This commit is contained in:
commit
9921b91912
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ const stripeSettings = getSetting('stripe');
|
|||
|
||||
// initialize Stripe
|
||||
const keySecret = Meteor.isDevelopment ? stripeSettings.secretKeyTest : stripeSettings.secretKey;
|
||||
const stripe = new Stripe(keySecret);
|
||||
export const stripe = new Stripe(keySecret);
|
||||
|
||||
const sampleProduct = {
|
||||
amount: 10000,
|
||||
|
|
Loading…
Add table
Reference in a new issue