Drupal: Stripe popravki.
This commit is contained in:
parent
b8a1b54ff9
commit
ad50ebbd9b
@ -1218,7 +1218,18 @@ window.addEventListener('beforeinstallprompt', function (e) {
|
||||
|
||||
function oddajNarociloNaStreznik() {
|
||||
jQuery('.pregled-narocila').hide();
|
||||
jQuery('.procesiram-posamezno-narocilo').hide();
|
||||
|
||||
jQuery('.procesiram-narocilo').show();
|
||||
var nacinPlacila = jQuery('[name="payment_method"]:checked').val();
|
||||
jQuery('.procesiram-narocilo .procesiram-narocilo-'+nacinPlacila).show();
|
||||
if(nacinPlacila == 2){
|
||||
jQuery('.procesiram-narocilo .procesiram-narocilo-ime').text('PayPal');
|
||||
} else if (nacinPlacila == 3){
|
||||
jQuery('.procesiram-narocilo .procesiram-narocilo-ime').text('Stripe');
|
||||
}
|
||||
|
||||
|
||||
|
||||
// V kolikor je omenjeno polje izpolnjeno potem gre za robota in preusmerimo na začetno stran
|
||||
if (jQuery('[name="narocilo-robotsko-narocilo"]').val().length > 0) {
|
||||
|
@ -781,9 +781,23 @@
|
||||
|
||||
<div class="w-clearfix procesiram-narocilo">
|
||||
<?php if ($language->language == 'sl'): ?>
|
||||
<div class="procesiram-narocilo-1 procesiram-posamezno-narocilo">
|
||||
Naročilo se obdeluje. Prosimo počakajte trenutek
|
||||
</div>
|
||||
|
||||
<div class="procesiram-narocilo-2 procesiram-narocilo-3 procesiram-posamezno-narocilo"></div>
|
||||
Sedaj vas bomo preusmerili na platformo <span class="procesiram-narocilo-ime">Stripe</span>, kjer boste vnesli podatke za plačilo.
|
||||
Po uspešnem plačilu vas bo preusmerilo nazaj na spletno mesto 1KA. Prosimo počakajte trenutek
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="procesiram-narocilo-1 procesiram-posamezno-narocilo">
|
||||
The order is being processed. Please wait a moment
|
||||
</div>
|
||||
|
||||
<div class="procesiram-narocilo-2 procesiram-narocilo-3 procesiram-posamezno-narocilo"></div>
|
||||
We will now redirect you to the <span class="procesiram-narocilo-ime">Stripe</span> platform, where you will enter your payment information.
|
||||
After a successful payment, you will be redirected back to the 1KA website. Please, wait a moment
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,9 +6,10 @@
|
||||
<div style="padding: 2rem 0;">
|
||||
<p>
|
||||
<?php if ($language->language == 'sl'): ?>
|
||||
Zahvaljujemo se vam za vaš nakup preko Stripe plačilnea sistema. Vaš novi paket je aktiven in ga lahko pričnete uporabljati.
|
||||
Zahvaljujemo se vam za vaš nakup. Plačilo preko Stripe plačilnega sistema je bilo uspešno izvedeno.
|
||||
Vaš novi paket je aktiviran in ga lahko pričnete uporabljati.
|
||||
<?php else: ?>
|
||||
Thank you for your purchase using Strpe! Your new package is now active and you can use it.
|
||||
Thank you for your purchase. Payment using Stripe system was successful. Your new package is now activated and ready to use.
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user