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 complete order call #269

Merged
merged 5 commits into from
Jun 17, 2024
Merged

Add complete order call #269

merged 5 commits into from
Jun 17, 2024

Conversation

mwraich
Copy link
Contributor

@mwraich mwraich commented Jun 11, 2024

Update auth endpoint to handle posting the complete order.

  • tested success case locally
  • tested failure case locally

@@ -136,6 +136,8 @@ public function __construct(
$this->checkoutSession = $checkoutSession;
}

private const COMPLETE_ORDER_URL = '/checkout_sidekick/{{shopId}}/order/%s/state';
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: Constants should be grouped together at the top of the class, before properties.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done here: e49bc3e

Model/Order/PlaceOrder.php Show resolved Hide resolved
@mwraich mwraich requested a review from JosephLeedy June 14, 2024 18:37
@mwraich mwraich merged commit 4fdeb0b into main Jun 17, 2024
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.

4 participants