Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit ee11475

Browse files
committed
Add data-currency to Stripe form
1 parent 2485468 commit ee11475

File tree

1 file changed

+1
-0
lines changed
  • site/plugins/shopkit/gateways/2-stripecheckout

1 file changed

+1
-0
lines changed

site/plugins/shopkit/gateways/2-stripecheckout/process.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
data-description="<?= $txn->txn_id() ?>"
5151
data-image="<?= site()->logo()->toFile()->crop(100)->url() ?>"
5252
data-locale="auto"
53+
data-currency="<?= page('shop')->currency_code() ?>"
5354
data-zip-code="true">
5455
</script>
5556
<input type="hidden" name="amount" value="<?= $amount ?>">

0 commit comments

Comments
 (0)