mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-01 20:17:35 -04:00 
			
		
		
		
	Merge pull request #5020 from beganovich/v5-0303-payment-methods-fix-blinking-modal
Payment methods improvements
This commit is contained in:
		
						commit
						c69b424928
					
				| @ -66,7 +66,7 @@ class Gateway extends StaticModel | ||||
|         } | ||||
| 
 | ||||
|         return $link; | ||||
|          | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
| @ -86,9 +86,10 @@ class Gateway extends StaticModel | ||||
|                 break; | ||||
|             case 20: | ||||
|                 return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true], | ||||
|                         GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable']], | ||||
|                         GatewayType::ALIPAY => ['refund' => false, 'token_billing' => false], | ||||
|                         GatewayType::APPLE_PAY => ['refund' => false, 'token_billing' => false]]; //Stripe
 | ||||
|                     GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable']], | ||||
|                     GatewayType::ALIPAY => ['refund' => false, 'token_billing' => false], | ||||
|                     GatewayType::APPLE_PAY => ['refund' => false, 'token_billing' => false], | ||||
|                     GatewayType::SOFORT => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable']]]; //Stripe
 | ||||
|                 break; | ||||
|             case 39: | ||||
|                 return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true]]; //Checkout
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <div x-show="open" class="fixed inset-x-0 bottom-0 px-4 pb-4 sm:inset-0 sm:flex sm:items-center sm:justify-center"> | ||||
| <div x-show="open" class="fixed inset-x-0 bottom-0 px-4 pb-4 sm:inset-0 sm:flex sm:items-center sm:justify-center" style="display: none;"> | ||||
|     <div x-show="open" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0" | ||||
|          x-transition:enter-end="opacity-100" x-transition:leave="ease-in duration-200" | ||||
|          x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user