production stripe btns

This commit is contained in:
ntr 2019-09-02 18:12:58 +10:00
parent 0e2667a32f
commit 3e286757f1

View File

@ -8,18 +8,18 @@ function BitsBtn(args) {
} = args;
function subscribeClick() {
stripe.redirectToCheckout({
items: [{ plan: 'plan_Fhl9r7UdMadjGi', quantity: 1 }],
successUrl: 'http://localhost',
cancelUrl: 'http://localhost',
items: [{ plan: 'prod_Fjdt7mYvzXkNBN', quantity: 1 }],
successUrl: 'http://mnml.gg',
cancelUrl: 'http://mnml.gg',
clientReferenceId: account.id,
});
}
function bitsClick() {
stripe.redirectToCheckout({
items: [{ sku: 'sku_FHUfNEhWQaVDaT', quantity: 1 }],
successUrl: 'http://localhost',
cancelUrl: 'http://localhost',
items: [{ sku: 'sku_Fjdu7zOy3sLGc5', quantity: 1 }],
successUrl: 'http://mnml.gg',
cancelUrl: 'http://mnml.gg',
clientReferenceId: account.id,
});
}