fixes for checkout.com (#3337)
This commit is contained in:
parent
139e0a4b0e
commit
aadda80988
|
|
@ -12,7 +12,11 @@
|
||||||
paymentToken: '{{ $transactionToken }}',
|
paymentToken: '{{ $transactionToken }}',
|
||||||
customerEmail: '{{ $contact->email }}',
|
customerEmail: '{{ $contact->email }}',
|
||||||
customerName: '{{ $contact->getFullName() }}',
|
customerName: '{{ $contact->getFullName() }}',
|
||||||
|
@if( $invoice->getCurrencyCode() == 'BHD' || $invoice->getCurrencyCode() == 'KWD' || $invoice->getCurrencyCode() == 'OMR')
|
||||||
|
value: {{ $invoice->getRequestedAmount() * 1000 }},
|
||||||
|
@else
|
||||||
value: {{ $invoice->getRequestedAmount() * 100 }},
|
value: {{ $invoice->getRequestedAmount() * 100 }},
|
||||||
|
@endif
|
||||||
currency: '{{ $invoice->getCurrencyCode() }}',
|
currency: '{{ $invoice->getCurrencyCode() }}',
|
||||||
widgetContainerSelector: '.payment-form',
|
widgetContainerSelector: '.payment-form',
|
||||||
widgetColor: '#333',
|
widgetColor: '#333',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue