Skip to content

Commit

Permalink
PP-13313: Worldpay details index page
Browse files Browse the repository at this point in the history
This commit deals with a moto-enabled gateway account that hasn't configured
the one_off_customer_initiated credentials yet.
  • Loading branch information
oswaldquek committed Dec 3, 2024
1 parent d1ab34b commit f6b71fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ module.exports = {
worldpayDetails: {
index: '/settings/worldpay-details'
},
worldpayDetails: {
index: '/settings/worldpay-details'
},
cardPayments: {
index: '/settings/card-payments'
},
Expand Down
3 changes: 3 additions & 0 deletions app/simplified-account-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ simplifiedAccount.get(paths.simplifiedAccount.settings.cardTypes.index, permissi
// worldpay details
simplifiedAccount.get(paths.simplifiedAccount.settings.worldpayDetails.index, permission('gateway-credentials:read'), serviceSettingsController.worldpayDetails.get)

// worldpay details
simplifiedAccount.get(paths.simplifiedAccount.settings.worldpayDetails.index, permission('gateway-credentials:read'), serviceSettingsController.worldpayDetails.get)

// stripe details
const stripeDetailsPath = paths.simplifiedAccount.settings.stripeDetails
const stripeDetailsRouter = new Router({ mergeParams: true })
Expand Down

0 comments on commit f6b71fd

Please sign in to comment.