-
Notifications
You must be signed in to change notification settings - Fork 7
Develop #595
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
base: develop
Are you sure you want to change the base?
Develop #595
Changes from all commits
7ab1be2
154305b
8be9cb1
b787cd0
2d0d455
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -80,12 +80,17 @@ public function build_installments() | |||||
|
|
||||||
| ); | ||||||
| $optionsHtml = $this->cardInstallments->renderOptions($installments); | ||||||
| echo json_encode([ | ||||||
|
|
||||||
| // Ensure no previous output contaminates the JSON response | ||||||
| if (ob_get_length()) { | ||||||
|
||||||
| if (ob_get_length()) { | |
| if (ob_get_level() > 0) { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -61,7 +61,10 @@ public function handle_requests() | |||||
| $this->config->log()->info('Webhook Received: empty body!'); | ||||||
| return; | ||||||
| } | ||||||
| if (!$this->orderByWoocommerce($body->data->code, $body->data->order->metadata, $body->id) ) { | ||||||
| $code = $body->data->code ?? null; | ||||||
|
||||||
| $metadata = $body->data->order->metadata ?? null; | ||||||
|
||||||
| $metadata = $body->data->order->metadata ?? null; | |
| $metadata = isset($body->data->order->metadata) ? $body->data->order->metadata : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a trailing whitespace at the end of this line. Trailing whitespaces should be removed to maintain code cleanliness and avoid unnecessary git diff noise.