-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #483 from omise/release-v6.0.0
Release of v6.0.0
- Loading branch information
Showing
147 changed files
with
22,965 additions
and
1,639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ node_modules/ | |
vendor | ||
.phpunit.result.cache | ||
composer.lock | ||
.nvmrc | ||
wp-content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
function showOmiseInstallmentForm({ | ||
element, | ||
publicKey, | ||
onSuccess, | ||
onError, | ||
locale, | ||
amount, | ||
}) { | ||
const noop = () => { } | ||
|
||
element.style.height = 500 + 'px' | ||
|
||
OmiseCard.configure({ | ||
publicKey: publicKey, | ||
amount, | ||
element, | ||
iframeAppId: 'omise-checkout-installment-form', | ||
customCardForm: false, | ||
customInstallmentForm: true, | ||
locale: locale, | ||
defaultPaymentMethod: 'installment' | ||
}); | ||
|
||
OmiseCard.open({ | ||
onCreateSuccess: onSuccess ?? noop, | ||
onError: onError ?? noop | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.