https://github.com/opencart/opencart/bl ... p.php#L154
And also here.
https://github.com/opencart/opencart/bl ... p.php#L180
The could log the value to check it. In admin/controller/extension/payment/squareup.php, after.
Code: Select all
$data['payment_squareup_redirect_uri'] = str_replace('&', '&', $this->url->link('extension/payment/squareup/oauth_callback', '', true));
Code: Select all
$this->log->write('payment_squareup_redirect_uri ' . $data['payment_squareup_redirect_uri']);
You could also do the same for $redirect_uri system/library/squareup.php.