I'm trying to setup PayPal Express because I now need to use recurring profiles. In the extensions setup, when I click on 'configure live' I enter my PayPal credentials in the popup box and it tells me that Opencart has been authorised. However, when I click on 'return to OpenCart' the API details have not been added, and the extension is not setup. Am I missing something? Do I have to manually add the API details or should it set these up for me?
I've tried enabling popups, I've fixed the "environment: '{{ environment }}'" bug (not sure that's the issue) but I can't get the extension to set itself up? Any suggestions?
Many thanks.
2 - In your admin/controller/extension/payment/pp_express.php file,
What are the instances of:
Code: Select all
$this->request->post['
In addition, what is the entire line you notice containing:
Code: Select all
$this->model_setting_setting->editSetting(
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have 127 instances of
Code: Select all
$this->request->post['
Code: Select all
if (isset($this->request->post['payment_pp_express_username'])) {
$data['payment_pp_express_username'] = $this->request->post['payment_pp_express_username'];
} else {
$data['payment_pp_express_username'] = $this->config->get('payment_pp_express_username');
}
if (isset($this->request->post['payment_pp_express_password'])) {
$data['payment_pp_express_password'] = $this->request->post['payment_pp_express_password'];
} else {
$data['payment_pp_express_password'] = $this->config->get('payment_pp_express_password');
}
if (isset($this->request->post['payment_pp_express_signature'])) {
$data['payment_pp_express_signature'] = $this->request->post['payment_pp_express_signature'];
} else {
$data['payment_pp_express_signature'] = $this->config->get('payment_pp_express_signature');
}
Code: Select all
$this->model_setting_setting->editSetting(
Line 15:
Code: Select all
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {
$this->model_setting_setting->editSetting('payment_pp_express', $this->request->post);
$this->session->data['success'] = $this->language->get('text_success');
$this->response->redirect($this->url->link('marketplace/extension', 'user_token=' . $this->session->data['user_token'] . '&type=payment', true));
}
Code: Select all
$this->model_setting_setting->editSetting('payment_pp_express', $pp_express_settings);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
| 4451 | 0 | payment_pp_express | payment_pp_express_status | 0
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I still seem to have the same issue - every time I go through the PayPal Express 'Configure Live' process it refuses to setup the extension.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Do you happen to know - if I request new API credentials, will that stop my PayPal Standard working? Does 'Standard' use different API credentials to 'Express'?
Many thanks for your help with this.
Yes, different generated API credentials are required between both services.Does 'Standard' use different API credentials to 'Express'?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
No problem. Although, also take note of this quote regarding the matched variables. It is possible that your configuration variables are mismatched and needs to be adjusted. For instance, take a look at your admin/controller/extension/payment/pp_express.php file.Hi. I've had to give up trying to use the auto 'configure live' - instead I've manually added the API credentials in the extension setup
What are the $this->config->get and $this->request->post variable keys beginning with?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: JNeuhoff and 158 guests