Skip to content

Commit

Permalink
Merge pull request #6703 from guardian/ahe/remove-amazon-pay
Browse files Browse the repository at this point in the history
Remove Amazon Pay from client side
  • Loading branch information
andrewHEguardian authored Jan 20, 2025
2 parents 6f913df + e657cca commit c4c4aec
Show file tree
Hide file tree
Showing 28 changed files with 8 additions and 925 deletions.
10 changes: 0 additions & 10 deletions support-frontend/app/views/windowGuardianPaymentConfig.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,6 @@
test: "@paymentMethodConfigs.regularTestPayPalConfig.payPalEnvironment"
};

window.guardian.amazonPaySellerId = {
default: "", //TODO: Remove when Amazon pay is removed from the client side
test: ""
};

window.guardian.amazonPayClientId = {
default: "", //TODO: Remove when Amazon pay is removed from the client side
test: "",
};

window.guardian.paymentApiUrl = "@paymentApiUrl";
window.guardian.paymentApiPayPalEndpoint = "@paymentApiPayPalEndpoint";
window.guardian.mdapiUrl = "@membersDataApiUrl";
Expand Down
2 changes: 0 additions & 2 deletions support-frontend/assets/__mocks__/settingsMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const mockSettings = {
stripePaymentRequestButton: 'On',
stripeExpressCheckout: 'On',
payPal: 'On',
amazonPay: 'On',
},
recurringPaymentMethods: {
stripe: 'On',
Expand All @@ -17,7 +16,6 @@ export const mockSettings = {
stripeExpressCheckout: 'On',
payPal: 'On',
directDebit: 'Off',
amazonPay: 'Off',
sepa: 'On',
},
subscriptionsPaymentMethods: {
Expand Down
177 changes: 0 additions & 177 deletions support-frontend/assets/components/amazonPayForm/amazonPayForm.tsx

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c4c4aec

Please sign in to comment.