Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

braintree - minor changes

DanielŻuławskid9b41fdd7cf2
diff --git a/src/Plugins/Payments.BrainTree/Views/Shared/Components/PaymentBrainTree/PaymentInfo_3DS.cshtml b/src/Plugins/Payments.BrainTree/Views/Shared/Components/PaymentBrainTree/PaymentInfo_3DS.cshtml
index e976f6ba0..971843023 100644
--- a/src/Plugins/Payments.BrainTree/Views/Shared/Components/PaymentBrainTree/PaymentInfo_3DS.cshtml
+++ b/src/Plugins/Payments.BrainTree/Views/Shared/Components/PaymentBrainTree/PaymentInfo_3DS.cshtml
@@ -71,7 +71,7 @@
hostedFields: null
};
var bankFrame = document.querySelector('#braintree-authentication');
- document.querySelector('.payment-info-next-step-button').setAttribute('onclick', null);
+ vmorder.validPayment = false;
braintree.client.create({ authorization: authorization }, onClientCreate);
function onClientCreate(err, client) {
if (err) {
@@ -168,6 +168,7 @@
}
else {
submitForm = false;
+ vmorder.validPayment = true;
vmorder.vPaymentInfo.save();
}
});