Book Image

OpenCart Theme and Module Development

By : Rupak Nepali
Book Image

OpenCart Theme and Module Development

By: Rupak Nepali

Overview of this book

Table of Contents (13 chapters)
OpenCart Theme and Module Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Payment module


Any module can be created by cloning an existing module with a similar functionality. By doing so, coding will become very easy and fast. You can view the list of Payment modules by going to Administrator | Extensions | Payments.

You can also create a payment module in a manner similar to that of the shipping module. To create a payment module, we have to work in the payment folder.

Before starting to write a payment module, you need to know about on-site payment and off-site payment, which are two broad categories of payment methods.

Off-site payment

Off-side payment means making a payment to the payment service by redirecting to a payment service website. The transaction is made at the payment service, and upon success or failure, the user is redirected to the relevant page. If the payment is successful, it shows a success message. Otherwise, it shows a failure message.

Some off-site payment modules are Paypal Standard, Moneybookers, LiqPay, and PayPoint.

If you are using...