-
Notifications
You must be signed in to change notification settings - Fork 463
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
[Order Refactor][Step 1] Get all payment methods from Payment Service #1171
Comments
As is:We are using the API below to retrieve payment providers.
GET: /payment/storefront/payment-providers [
{
"id": "PAYPAL",
"name": "paypal",
"configureUrl": "paypal-config",
"additionalSettings": "{\"clientId\": \"clientId}\", \"clientSecret\": \"secrect\", \"mode\": \"sandbox\"}"
},
{
"id": "COD",
"name": "Cash on Delivery",
"configureUrl": "cod-config",
"additionalSettings": ""
}
] To be:
GET: /payment/storefront/payment-providers [
{
"id": "PAYPAL",
"name": "paypal",
"configureUrl": "paypal-config",
"version": 0,
"mediaId": 82,
"iconUrl": "http://localhost:8083/medias/82/file/paypal.png"
},
{
"id": "COD",
"name": "Cash on Delivery",
"configureUrl": "cod-config",
"version": 0,
"mediaId": 81,
"iconUrl": "http://localhost:8083/medias/81/file/cod.png"
}
] Now,
|
minhtridn2001
pushed a commit
that referenced
this issue
Dec 13, 2024
* - Get payment providers * - Update payment API & config * - Fix checkstyle, add UT --------- Co-authored-by: Duy Le Van <[email protected]> Co-authored-by: Tri Phung Quang Minh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: