Skip to content

Commit

Permalink
Update payment template with order key for stripe gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Dec 20, 2023
1 parent d4e3c06 commit c88038e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example-templates/dist/shop/checkout/payment.twig
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
spacedAccordionItems: false
}
},
order: cart,
submitButtonClasses: 'cursor-pointer rounded px-4 py-2 inline-block bg-blue-500 hover:bg-blue-600 text-white hover:text-white my-2',
submitButtonLabel: 'Pay',
errorMessageClasses: 'bg-red-200 text-red-600 my-2 p-2 rounded',
Expand Down
1 change: 1 addition & 0 deletions example-templates/src/shop/checkout/payment.twig
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
spacedAccordionItems: false
}
},
order: cart,
submitButtonClasses: '[[classes.btn.base]] [[classes.btn.mainColor]] my-2',
submitButtonLabel: 'Pay',
errorMessageClasses: 'bg-red-200 text-red-600 my-2 p-2 rounded',
Expand Down

0 comments on commit c88038e

Please sign in to comment.