Bläddra i källkod

fix: method paths to accomodate new structure

pull/2/head
phot0n 2 år sedan
förälder
incheckning
e5ac9673b4
4 ändrade filer med 3 tillägg och 4 borttagningar
  1. +1
    -1
      payments/templates/includes/braintree_checkout.js
  2. +1
    -1
      payments/templates/includes/razorpay_checkout.js
  3. +1
    -1
      payments/templates/includes/stripe_checkout.js
  4. +0
    -1
      requirements.txt

+ 1
- 1
payments/templates/includes/braintree_checkout.js Visa fil

@@ -21,7 +21,7 @@ $(document).ready(function() {
return;
}
frappe.call({
method: "frappe.templates.pages.integrations.braintree_checkout.make_payment",
method: "payments.templates.pages.braintree_checkout.make_payment",
freeze: true,
headers: {
"X-Requested-With": "XMLHttpRequest"


+ 1
- 1
payments/templates/includes/razorpay_checkout.js Visa fil

@@ -31,7 +31,7 @@ razorpay.make_payment_log = function(response, options, doctype, docname, token)
$('.razorpay-confirming').removeClass('hidden');

frappe.call({
method:"frappe.templates.pages.integrations.razorpay_checkout.make_payment",
method:"payments.templates.pages.razorpay_checkout.make_payment",
freeze:true,
headers: {"X-Requested-With": "XMLHttpRequest"},
args: {


+ 1
- 1
payments/templates/includes/stripe_checkout.js Visa fil

@@ -32,7 +32,7 @@ function setOutcome(result) {
$('#submit').prop('disabled', true)
$('#submit').html(__('Processing...'))
frappe.call({
method:"frappe.templates.pages.integrations.stripe_checkout.make_payment",
method:"payments.templates.pages.stripe_checkout.make_payment",
freeze:true,
headers: {"X-Requested-With": "XMLHttpRequest"},
args: {


+ 0
- 1
requirements.txt Visa fil

@@ -3,4 +3,3 @@ paytmchecksum~=1.7.0
razorpay~=1.2.0
stripe~=2.56.0
braintree~=4.8.0


Laddar…
Avbryt
Spara