Post by redcodedesign » Sun Jun 08, 2014 7:19 pm

Hello people, im pretty sure this is way easy for you to explain, but im hitting the wall for several hours now.

I have a recurring profile for a product im the shop, all works 100% well, until i hit Checkout.

How can i set the Payment Option just to cash on delivery?

I dont really care or need any other option, just CASH ON DELIVERY.

Thx for the help,

Mario

Newbie

Posts

Joined
Sun Jun 08, 2014 6:44 pm

Post by dawgiebowl » Tue Nov 26, 2019 12:58 pm

Did you get this to work?

Newbie

Posts

Joined
Wed Nov 20, 2019 8:59 pm

Post by Johnathan » Tue Nov 26, 2019 10:22 pm

Payment methods need a certain function name in order to appear during checkout if there are products with recurring profiles in the cart. Try this edit:

Code: Select all

IN:
/catalog/model/payment/cod.php
or
/catalog/model/extension/payment/cod.php

BEFORE:
public function getMethod($address, $total) {

ADD:
public function recurringPayments() {
	return true;
}

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 3 guests