After much pounding my head against the keyboard due to my ignorance in PHP programming, this is what I've managed to figure out.
Earlier, I posted the error I was getting after applying Qphoria's recommendations. That code was:
Code: Select all
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('common/home'),
'text' => $this->language->get('text_home'),
'separator' => FALSE
);
After examining the PayPal Pro file, there was some easily identifiable differences across this portion of the module. Since it seemed like a "generic" part of the code, I replaced it with:
Original code:
Code: Select all
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('common/home'),
'text' => $this->language->get('text_home'),
'separator' => FALSE
);
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('extension/payment'),
'text' => $this->language->get('text_payment'),
'separator' => ' :: '
);
$this->document->breadcrumbs[] = array(
'href' => $this->url->https('payment/payflowlink'),
'text' => $this->language->get('heading_title'),
'separator' => ' :: '
);
Borrowed code from the Paypal Pro module:
Code: Select all
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=common/home&token=' . $this->session->data['token'],
'text' => $this->language->get('text_home'),
'separator' => FALSE
);
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=extension/payment&token=' . $this->session->data['token'],
'text' => $this->language->get('text_payment'),
'separator' => ' :: '
);
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=payment/payflowlink&token=' . $this->session->data['token'],
'text' => $this->language->get('heading_title'),
'separator' => ' :: '
);
This at least brings up the module for the Payflow Link now. However, the buttons that would normally
Save and
Cancel are not hyperlinks, so that even though I can now enter the required information for the Payflow Link credentials, I can't
save them, much less
Enable the module.
So, that's where I'm at on this so far.
One sidepoint: isn't there someplace that I can just place the credentials directly for now (and enable the module), so I can at least move on to the customer part of the process and see if that's a broken mess, too, but performing a transaction? I looked through the MySQL database but didn't see any such place.
Thank you for your time and consideration!
—Timothy