Skip to content

Commit

Permalink
Remove payment_method on url
Browse files Browse the repository at this point in the history
  • Loading branch information
andykim committed Jan 5, 2023
1 parent 74cdb22 commit cc1dd45
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=Alfamart'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/atome.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/bcava.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=BCA'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/bjbva.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/bniva.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=BNI'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/briva.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/bsiva.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/cc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/dana.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=DD_BRI'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=DD_RCBC'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/gcash.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/lbc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/ovo.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=Permata'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/view/payment/method-renderer/qris.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build('xendit/checkout/invoice?preferred_method=QRIS'));
window.location.replace(url.build('xendit/checkout/invoice'));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define(
},

afterPlaceOrder: function () {
window.location.replace(url.build(`xendit/checkout/invoice?preferred_method=${self.getMethod()}`));
window.location.replace(url.build(`xendit/checkout/invoice`));
},

validate: function() {
Expand Down

0 comments on commit cc1dd45

Please sign in to comment.