| Openbravo Issue Tracking System - POS2 | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0050260 | POS2 | POS | public | 2022-09-15 16:53 | 2023-09-29 09:11 | 
| 
 | 
| Reporter | dorian_robillard |  | 
| Assigned To | jlopez |  | 
| Priority | high | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | open |  | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |  | 
| Target Version |  | Fixed in Version |  |  | 
| Merge Request Status | approved | 
| Review Assigned To | aferraz | 
| OBNetwork customer | Gold | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
| 
 | 
| Summary | 0050260: Limit payment method when refund with Adyen | 
| Description | When in channel touchpoint type is defined : Allowed PMs for Refund = Only these defined, the behaviour if you try tu refund in POS with a payment method not in the tab PM for refund is that a pop up appear when clickin in done to say that this payment method can't be used. However when we use a payment method with a pyment provider (Adyen for example), the call to the provider is done before checking if the payment method is authorized.
 
 https://openbravo.atlassian.net/browse/RM-3597 [^]
 | 
| Steps To Reproduce | Pre requisite Configure a payment method 1 with Adyen provider
 Configure a payment method 2 with the field Allowed PMs for Refund = Only these defined+ Doesn't add in the tab the payment method with Adyen provider
 
 1) in the POS, create a sale and pay with paymenty method 2
 2) Do a verified return and refund with payment method 1
 3) The provider ADYEN is called to do the refund
 4) When paid an error message appear to say that this payment method is not autorized
 | 
| Proposed Solution | The pop up message should be displayed when clicking in the payment method 1 and no call to the service provider should be done | 
| Additional Information |  | 
| Tags | FASH | 
| Relationships | | related to | feature request | 0049909 |  | closed | igor_trebol | Retail Modules | Credit Card Refunds |  | related to | defect | 0053355 |  | closed | igor_trebol | POS2 | Refund in Credit card when paying in Cash / Credit Note / Gift card |  | depends on | defect | 0050331 |  | closed | njimenez | Retail Modules | Payments limit management |  | related to | design defect | 0050839 |  | new | Retail | Retail Modules | Inconsistent state when canceling the action using an action preparation | 
 | 
| Attached Files |  PM for refund.png (93,879) 2022-09-15 16:53 https://issues.openbravo.com/file_download.php?file_id=17520&type=bug
 
  
 | 
| 
 | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2022-09-15 16:53 | dorian_robillard | New Issue |  | 
| 2022-09-15 16:53 | dorian_robillard | Assigned To | => Retail | 
| 2022-09-15 16:53 | dorian_robillard | File Added: PM for refund.png |  | 
| 2022-09-15 16:53 | dorian_robillard | Triggers an Emergency Pack | => No | 
| 2022-09-15 16:53 | dorian_robillard | Tag Attached: FASH |  | 
| 2022-09-19 14:59 | rafaroda | OBNetwork customer | => Gold | 
| 2022-10-28 12:48 | aferraz | Relationship added | related to 0049909 | 
| 2022-11-02 12:54 | aferraz | Assigned To | Retail => jlopez | 
| 2022-11-02 12:54 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=25032#r25032 | 
| 2022-11-10 11:01 | aferraz | Relationship added | depends on 0050331 | 
| 2022-11-10 13:40 | aferraz | Relationship added | related to 0050839 | 
| 2022-11-22 09:57 | hgbot | Merge Request Status | => open | 
| 2022-11-22 09:57 | hgbot | Note Added: 0143992 |  | 
| 2022-11-22 19:27 | hgbot | Note Added: 0144027 |  | 
| 2022-12-03 15:25 | hgbot | Merge Request Status | open => approved | 
| 2022-12-03 15:26 | hgbot | Note Added: 0144388 |  | 
| 2022-12-03 15:26 | hgbot | Resolution | open => fixed | 
| 2022-12-03 15:26 | hgbot | Status | new => closed | 
| 2022-12-03 15:26 | hgbot | Fixed in Version | => RR23Q1 | 
| 2022-12-03 15:26 | hgbot | Note Added: 0144389 |  | 
| 2022-12-03 15:27 | hgbot | Fixed in Version | RR23Q1 => 23Q1 | 
| 2022-12-03 15:27 | hgbot | Note Added: 0144390 |  | 
| 2022-12-03 15:27 | hgbot | Note Added: 0144391 |  | 
| 2022-12-05 17:20 | hgbot | Note Added: 0144426 |  | 
| 2022-12-05 17:20 | hgbot | Fixed in Version | 23Q1 => RR23Q1 | 
| 2022-12-05 17:20 | hgbot | Note Added: 0144427 |  | 
| 2022-12-12 10:15 | aferraz | Status | closed => new | 
| 2022-12-12 10:15 | aferraz | Resolution | fixed => open | 
| 2022-12-12 10:15 | aferraz | Fixed in Version | RR23Q1 => | 
| 2022-12-12 14:51 | igor_trebol | Review Assigned To | => aferraz | 
| 2022-12-12 14:51 | igor_trebol | Note Added: 0144533 |  | 
| 2022-12-12 14:51 | igor_trebol | Status | new => closed | 
| 2023-09-29 09:11 | rafaroda | Relationship added | related to 0053355 | 
	| Notes | 
	| 
 | 
	| 
		
			| (0143992) |  
			| hgbot |  
			| 2022-11-22 09:57 |  |  | 
	| 
 | 
	| 
		
			| (0144027) |  
			| hgbot |  
			| 2022-11-22 19:27 |  |  | 
	| 
 | 
	| 
		
			| (0144388) |  
			| hgbot |  
			| 2022-12-03 15:26 |  |  | 
	| 
 | 
	| 
		
			| (0144389) |  
			| hgbot |  
			| 2022-12-03 15:26 |  |  | 
	| 
 | 
	| 
		
			| (0144390) |  
			| hgbot |  
			| 2022-12-03 15:27 |  |  | 
	| 
 | 
	| 
		
			| (0144391) |  
			| hgbot |  
			| 2022-12-03 15:27 |  |  | 
	| 
 | 
	| 
		
			| (0144426) |  
			| hgbot |  
			| 2022-12-05 17:20 |  |  | 
	| 
 | 
	| 
		
			| (0144427) |  
			| hgbot |  
			| 2022-12-05 17:20 |  |  | 
	| 
 | 
	|  | 
		
			| For the refund limit validations the credit card number is needed, and is only obtained after calling the payment provider, so the validations need to always be done afterwards. |  |