Skip to main content

Payment method modification

More
8 years 4 weeks ago - 8 years 4 weeks ago #297277 by kyratn
Hi,

Quick question.

As example we have 3 payment methods and they all use different payment plugins.

Should we do our modifications inside each plugin or we can modify end.php file and use:
Code:
<?php if($this->order->order_payment_id == 'XX'){ ?>

for each payment method to show it's html?

What is the right way regarding performance?

In future we should add few more payment methods and end.php file could be a little bit heavy i guess...

Please advise?

Thank you
Last edit: 8 years 4 weeks ago by kyratn.

Please Log in or Create an account to join the conversation.

More
8 years 4 weeks ago #297300 by nicolas
Replied by nicolas on topic Payment method modification
Hi,

Well, it depends what kind of modification you need to do.

Performances won't be impacted whatever the way you do it.

The modification in end.php would allow you to get easily the updates we add in the payment plugins when they do changes on the payment gateway side (for security for example).
The following user(s) said Thank You: kyratn

Please Log in or Create an account to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum