-
Notifications
You must be signed in to change notification settings - Fork 0
MOL-437/MOL-251: implement custom app list payment view #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
const serviceRouter = Router(); | ||
|
||
serviceRouter.post('/getMethods', getMethods); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use get method, change the uri name to "methods"
processor/src/index.ts
Outdated
app.use( | ||
['/application/*'], | ||
createSessionMiddleware({ | ||
audience: `https://mc.${readConfiguration().commerceTools.region}.commercetools.com`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should allow the develop to use their own jwt audience, and issuer
https://github.com/commercetools/connect-payment-integration-template/blob/main/connect.yaml#L30
and set default value as
https://github.com/commercetools/connect-payment-integration-template/blob/6d4208ddebcbdf9a369694dbc886587e5a032973/processor/src/config/config.ts#L7
customObjectsPaginatedResult?.total > 0 && | ||
extension?.destination?.url | ||
) { | ||
usePaymentMethodsFetcher(extension?.destination?.url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this always overwrite existing when loading the payment method list?
No description provided.