Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057189
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersminoralways2024-11-19 16:532024-11-20 10:09
ReportersofidossantView Statuspublic 
Assigned ToBimla_vm 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057189: Error Unexpected exception consuming the giftcard - API ConsumeGiftCard

DescriptionWhen I want to consume a gift card through the api
/ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard
I can't do it, and the error is not informative.

We can not consume the gift card.
Steps To Reproduce1 - Put the role The White Valley Group how default.
2 - Create the gift card with
/org.openbravo.api.ImportService/GiftCard

[
{
"client":"The White Valley Group",
"organization":"The White Valley Group",
"searchKey": "TEST-SERGI1",
"active": true,
"dateOrdered": "2024-10-22",
"businessPartner": "WVG/C0004",
"product": "WVG/GC0001",
"amount": 50,
"currentAmount": 50,
"type": "BasedOnCreditNote",
"expirationDate": "2025-09-23",
"creationOrganization": "The White Valley Group"
}
]
 
3- Use /ws/org.openbravo.retail.api.giftcards.ImportService/ConsumeGiftCard
https://livebuilds.openbravo.com/context/pos_modules_pgsql_pi_api/api?urls.primaryName=consumegiftcards#/ [^]

{
"client": "The White Valley Group",
"organization": "The White Valley Group",
"giftCardIdentifier": "TEST-SERGI1",
"newTransactionId": "6DF7EB4507BC4D628025987475AFC112",
"amount": 1.1
}

We see the error
{
  "data": {
    "errors": [
      {
        "status": 200,
        "title": "Unexpected exception consuming the giftcard"
      }
    ]
  },
  "links": null
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-11-19 16:53 sofidossant New Issue
2024-11-19 16:53 sofidossant Assigned To => Retail
2024-11-19 16:53 sofidossant Triggers an Emergency Pack => No
2024-11-20 10:04 guilleaer Assigned To Retail => guilleaer
2024-11-20 10:04 guilleaer Status new => acknowledged
2024-11-20 10:09 Bimla_vm Assigned To guilleaer => Bimla_vm
2024-11-20 10:09 Bimla_vm Status acknowledged => scheduled


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker