PAYMILL extension is compatible with: 1.5.4, 1.5.4.1, 1.5.5.1, 1.5.6 (tested for 1.5.4.1 and 1.5.5.1). This extension installs two payment methods: Credit card and direct debit.
We've introduced a "payment form" option for easier compliance with PCI requirements. In addition to having a payment form directly integrated in your checkout page, you can use our embedded PayFrame solution to ensure that payment data never touches your website.
PayFrame is enabled by default, but you can choose between both options in the plugin settings. Later this year, we're bringing you the ability to customise the appearance and text content of the PayFrame version.
To learn more about the benefits of PayFrame, please visit our FAQ.
Download the complete module by using the link below:
To install the extension merge the content of the folder paymill-opencart-master
with your Opencart installation.
Go to Extentions > Payments and install
your favorite payment method.
Afterwards you can click edit
to enter your configuration.
Be sure to set the permission for the following pages:
custom/paymillLogging
-> shows you all log entriescustom/paymillOrder
-> offers additional payment actions ( capture & refund )payment/paymillcreditcard
-> configuration page for creditcardpayment/paymilldirectdebit
-> configuration page for directdebitThe payment is processed when an order is placed in the shop frontend. An invoice is being generated automatically.
There are several options altering this process:
Fast Checkout: Fast checkout can be enabled by selecting the option in the PAYMILL Settings. If any customer completes a purchase while the option is active this customer will not be asked for data again. Instead a reference to the customer data will be saved allowing comfort during checkout.
In case of any errors turn on the debug mode and logging in the PAYMILL Settings. Open the javascript console in your browser and check what's being logged during the checkout process. To access the logged information not printed in the console please click the Logging
-button within your configuration.
Open the file admin/view/template/sale/order_info.tpl
.
Search for the following code
<tr>
<td><?php echo $text_country; ?></td>
<td><?php echo $payment_country; ?></td>
</tr>
<tr>
<td><?php echo $text_payment_method; ?></td>
<td><?php echo $payment_method; ?></td>
</tr>
Add the folowing code right atfer the previous code
<?php
require_once(DIR_SYSTEM."../paymill/admin/template/paymentActions.tpl");
?>
Open the file admin/controller/sale/order.php
Search for the following code
public function info() {
$this->load->model('sale/order');
if (isset($this->request->get['order_id'])) {
$order_id = $this->request->get['order_id'];
} else {
$order_id = 0;
}
$order_info = $this->model_sale_order->getOrder($order_id);
if ($order_info) {
and add the following code below it
$this->data['paymillshow'] = preg_match('/^paymill.*$/', $order_info['payment_code']);
$this->data['paymillURL'] = $this->url->link('custom/paymillOrder', '&token=' . $this->session->data['token'] .'&orderId='.$order_id);