Drupal: PayPal placilo
This commit is contained in:
parent
d55bee3bd7
commit
4a6b53f2af
@ -792,7 +792,7 @@
|
||||
if (window.location.pathname.indexOf('/narocilo/paypal-cancel?narocilo_id') > -1 && location.search.split('narocilo_id=').length > 1) {
|
||||
var narocilo = location.search.split('narocilo_id=')[1];
|
||||
|
||||
jQuery.post('/frontend/payments/api.php?action=capture_narocilo_paypal', {
|
||||
jQuery.post('/frontend/payments/api.php?action=cancel_narocilo_paypal', {
|
||||
narocilo_id: narocilo
|
||||
}).done(function (val) {
|
||||
val = JSON.parse(val);
|
||||
@ -807,7 +807,7 @@
|
||||
if (window.location.href.indexOf('/narocilo/paypal?narocilo_id') > -1 && location.search.split('narocilo_id=').length > 1) {
|
||||
var narocilo = location.search.split('narocilo_id=')[1];
|
||||
|
||||
jQuery.post('/frontend/payments/api.php?action=cancel_narocilo_paypal', {
|
||||
jQuery.post('/frontend/payments/api.php?action=capture_narocilo_paypal', {
|
||||
narocilo_id: narocilo
|
||||
}).done(function (val) {
|
||||
val = JSON.parse(val);
|
||||
|
@ -5,9 +5,9 @@
|
||||
<div style="padding: 2rem 0;">
|
||||
<p>
|
||||
<?php if ($language->language == 'sl'): ?>
|
||||
Zahvaljujemo se vam za vaš nakup preko PayPal računa. Vaš novi paket je aktiven in ga lahko pričnete uporabljati.
|
||||
Vaše naročilo je preklicano.
|
||||
<?php else: ?>
|
||||
Thank you for your purchase using PayPal! Your new package is now active and you can use it.
|
||||
Your order has been canceled.
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user