
Prestashop OffLine Payment Card Module
What is it?
Prestashop is a powerful featured open source (free!) shopping cart solution. One feature it is lacking is the ability to take credit or payment card payments to process off line with a payment card machine. You know one of those chip and pin things you swipe your card in. It is useful for shop owners who have a card machine but want to take payments on line using prestashop. Ideal for owners who aren't quite ready to sign up to the sometimes bewildering world of merchant accounts!
Why did I make it?
I recently created a tutorial on creating payment modules for Prestashop. I used the offline payment module as an example as it was about as simple as it gets. A few people mailed me hoping the one in the tutorial was good enough to use in real life. It wasn't, so here is a better one that is up to the job (please let me know if it isn't). At the time of writing there is an offline payments card module created for prestashop by a chap called Kev but it seems to be an abandoned project and has some errors in the most recent version of Prestashop. Hopefully the author might come back and and update his version as this one seems a good module.
Issue Number and Start Date
This module allows the customer to select their card type and enter a start date and issue number if appropriate. This is useful for U.K and some European shop owners (and maybe other places!)
How do I install it?
Not much to do - simply upload it your your web site under the directory named modules. unzip it if you haven't already done so.
Then under your modules area choose the module names OffLine Payment Cards and click the install link.

After a moment the module should install - and "configure" link should appear. Clicking this link to allow you to select the payment card types you wish to accept on your site.

What will the customer see?
The customer will be offered the choice of payment modules as normal. If all has gone well with the install of the offline payments module then and option to "Pay with your Credit or Debit Card" should appear like so:

They will then be taken to a screen where the customer can enter their payment card details like so:

Where can I view the credit card details for the order?
It is under the orders tab. Choose the order and click the view icon. This will open the order invoice where the payment details are listed. Once the payment is taken you can delete the credit card number.
Download it
I keep this on the google code area. So grab if from there with this link:
(This will take you to a google code page that you can download the latest version from)

How can we change the start date and exp date
hello i installed your module and am successfully using but i need to change the fields start date and expiry date to a input box instead of a drop down so that customers can type in manually any help will be appreciated.
Kind regards
Andy
www.carmatfactory.co.uk
Start amd Exp Date
Hello,
This is contained in the template file called payment_execution.tpl
The code you are looking for is on line 36.
You need to change this bit
{html_select_date
prefix='expDate_'
start_year='-0'
end_year='+15'
display_days=false
year_empty="Year"
month_empty="Month"}
I have looked deeply into whether just changing it to a input box will do the trick but give it a go and see if it works.
Offline Card Payment Module
Where do the card details appear in the BO?
In the invoice section.
You click on the order and the details should appear in the invoice.
Cheers
Dave
No card details
I must be doing something wrong.
I've placed a test order and cannot find any card details.
Hello Again
I have added a bug fixed version on google code (see the download link) to help me keep track of the software. Please try that version as I have fixed a bug in the writing of the payment details which might have effected your install.
Thank you, David
Hello
Okay thats a pity , i might be able to help though. I guess first thing first - did the module install okay?
Also do you have access to look at the data base for example do you have phpmyadmin so we can see if the card details are stored.
Ta
Dave
Card details
I can have a look.
Do you know where in the db they will show up?
ps_order_paymentcard
Hello
Have a look in ps_order_paymentcard that's where they are kept. Of course your database tables might not be prefixed ps_ that's just the default.
I have fixed a few bugs at the weekend so it might be worth downloading from the download link again (i keep it on google code now)