diff --git a/init.php b/init.php index 70cfdde68..d4606acfb 100644 --- a/init.php +++ b/init.php @@ -236,9 +236,9 @@ require __DIR__ . '/lib/Service/WebhookEndpointService.php'; // Service factories -require __DIR__ . '/lib/Service/CoreServiceFactory.php'; require __DIR__ . '/lib/Service/BillingPortal/BillingPortalServiceFactory.php'; require __DIR__ . '/lib/Service/Checkout/CheckoutServiceFactory.php'; +require __DIR__ . '/lib/Service/CoreServiceFactory.php'; require __DIR__ . '/lib/Service/Identity/IdentityServiceFactory.php'; require __DIR__ . '/lib/Service/Issuing/IssuingServiceFactory.php'; require __DIR__ . '/lib/Service/Radar/RadarServiceFactory.php'; diff --git a/lib/Refund.php b/lib/Refund.php index f5e975fd8..ddff61658 100644 --- a/lib/Refund.php +++ b/lib/Refund.php @@ -43,6 +43,7 @@ class Refund extends ApiResource const FAILURE_REASON_UNKNOWN = 'unknown'; const REASON_DUPLICATE = 'duplicate'; + const REASON_EXPIRED_UNCAPTURED_CHARGE = 'expired_uncaptured_charge'; const REASON_FRAUDULENT = 'fraudulent'; const REASON_REQUESTED_BY_CUSTOMER = 'requested_by_customer';