This commit is contained in:
ntr
2019-07-11 22:11:47 +10:00
parent 6419fe55a0
commit d27786fa5a
5 changed files with 29 additions and 12 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ function BitsBtn(args) {
function subscribeClick(e) {
stripe.redirectToCheckout({
items: [{plan: 'plan_FGmRwawcOJJ7Nv', quantity: 1}],
successUrl: 'http://localhost/payments/success',
cancelUrl: 'http://localhost/payments/cancel',
successUrl: 'http://localhost/api/payments/success',
cancelUrl: 'http://localhost/api/payments/cancel',
clientReferenceId: account.id
});
}