Skip to content
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

Check if payment method is enabled and available in MONEI #31

Closed
jimmyn opened this issue May 2, 2024 · 3 comments
Closed

Check if payment method is enabled and available in MONEI #31

jimmyn opened this issue May 2, 2024 · 3 comments
Assignees

Comments

@jimmyn
Copy link
Collaborator

jimmyn commented May 2, 2024

It is possible to get information about what payment methods are supported by accountId or paymentId, this request also returns the supported countries. The request is cached, in order to bypass cache pass a timestamp as query parameter

https://api.monei.com/v1/payment-methods?paymentId={{paymentId}}&t=1234556
https://api.monei.com/v1/payment-methods?accountId={{accountId}}

We should check if payment method is enabled in MONEI before showing it.

  • Check the country dynamically
  • Check if payment method is enabled
@presteamshop
Copy link
Collaborator

@jimmyn this has already beed completed: #21 Or are you referring to something else?

@jimmyn
Copy link
Collaborator Author

jimmyn commented Jun 17, 2024

@presteamshop no, this is issue is about checking if the payment method is enabled in MONEI before showing it

@presteamshop
Copy link
Collaborator

@presteamshop no, this is issue is about checking if the payment method is enabled in MONEI before showing it

This is something that has already been done. Look at the code:
image

@jimmyn jimmyn closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants