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

Add order cancelation request #5

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Add order cancelation request #5

merged 2 commits into from
Mar 14, 2024

Conversation

ropczan
Copy link
Contributor

@ropczan ropczan commented Mar 8, 2024

No description provided.

@ropczan ropczan force-pushed the order-cancellation branch 3 times, most recently from a8aa52b to 0cf048d Compare March 8, 2024 12:12
@ropczan ropczan marked this pull request as draft March 8, 2024 12:21
@ropczan ropczan force-pushed the order-cancellation branch 5 times, most recently from 133e67f to 6f4ba25 Compare March 8, 2024 13:49
@ropczan ropczan marked this pull request as ready for review March 12, 2024 20:31
Copy link
Member

@lukasz-falda lukasz-falda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the README file

use Answear\PayPo\Enum\OrderStatusEnum;

class CancelRequest implements RequestInterface
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'he just saw that \Answear\PayPo\Service\Order::reject works similar. But PayPo documentation says that we can change to only CANCELLED OR CONFIRMED status.
Maybe you can remove reject flow from this bundle on separate PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi #6

@ropczan ropczan merged commit 3730711 into master Mar 14, 2024
7 checks passed
@ropczan ropczan deleted the order-cancellation branch March 14, 2024 10:13
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

Successfully merging this pull request may close these issues.

3 participants