Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI for NotificationsClient::replay() is incorrect. #102

Open
tigerbook73 opened this issue Nov 26, 2024 · 1 comment
Open

URI for NotificationsClient::replay() is incorrect. #102

tigerbook73 opened this issue Nov 26, 2024 · 1 comment

Comments

@tigerbook73
Copy link

Describe the bug

URI for NotificationsClient::replay() is incorrect.

public function replay(string $id): string
{
    $parser = new ResponseParser(
        $this->client->postRaw("/notifications/{$id}"),
    );
    ...
}

According to API document, the URI shall be "/notifications/{$id}/replay".

Steps to reproduce

Call the API to replay any notification. The return value is "".

Expected behavior

Shall return new notification id.

Code snippets

No response

PHP version

PHP 8.1

SDK version

paddle-php-sdk 1.20.1

API version

Paddle verson 1

Additional context

No response

@mikeymike
Copy link
Contributor

Hey @tigerbook73, thanks for raising this issue.

We'll be looking to get a fix out for this in out next patch release. Once updated we'll update this issue accordingly 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants