Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 254
openapi_spec_hash: b502688710d2e1e332c41ca7adc8aabf
openapi_spec_hash: 2aa38f838c188da298a2a55bb8ed0d5d
config_hash: f0e1844d06c76a9e145f7986d993dda6
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Error codes are as follows:

Certain errors will be automatically retried 2 times by default, with a short exponential backoff.

Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.

You can use the `maxRetries` option to configure or disable this:

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Core/BaseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected function shouldRetry(
}

$code = $rsp?->getStatusCode();
if (408 == $code || 409 == $code || 429 == $code || $code >= 500) {
if (408 == $code || 429 == $code || $code >= 500) {
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum EventCategory: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum EventCategory: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/Event/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum Category: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/EventListParams/Category/In.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ enum In: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/UnwrapWebhookEvent/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum Category: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
Loading