refactoring

This commit is contained in:
Čarodej
2022-05-18 08:51:28 +02:00
parent e87e2ec4e3
commit 3c28da2613
5 changed files with 5 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ export default {
.then((response) => {
// Set up Stripe.js and Elements to use in checkout form, passing the client secret obtained in step 2
elements = stripe.elements({
clientSecret: response.data.client_secret,
clientSecret: response.data.data.client_secret,
appearance: {
theme: 'stripe',
variables: {