Prestashop OffLine Payment Card Module

Start Date

Hello, I have noticed that the start date is from the current year, I have had no luck changing or amending this in the code for not show, or to show previous years. Please supply a fix for this Simon

Need Solution for version PrestaShop™ 1.4.5.1

It does not work with version PrestaShop™ 1.4.5.1 Sure be nice to have for this version.

Works fine with PrestaShop™ 1.4.5.1

Just look for the name to reflect CC Payments Module v1.4

Surely this is not a PCI-DSS compliant system!

So this is all very good and functional right, but is it PCI compliant, meaning if anyone running it gets audited by VISA, perhaps via their merchant account, perhaps if a annoying customer disputes a payment, then you face a $500,000USD fine as per the PCI website, ie the security body that VISA and 4 other credit card companies put together? As a "card not present" transaction, the merchant, ie the shop, bears all responsibility. Surely this needs to be run on a very expensive dedicated host that has been verified and certified as PCI compliant. Use at your own risk peoples.

Hello

Do that sounds like a good warning - do you know which host offer these very expensive dedicated hosts? It would be good to know which ones are and an idea of costs.

help. remove instant check out?

This module is awesome exactly what I wanted and free as Open Source should be, however my problem is that if I use instant check out then after asking for the carrier instead of going to the cc info goes back to the page where it gives you login/create account/ or instant check out and ends up on that eternal loop. If anyone knows how to fix this or perhaps to remove the instant check out option which would be an alternative solution, specially since I do not have any training or real knowledge of programming, it would be of an amazing help. Thanks

Works Great

Worked right the first time, and seems to capture all data without a hitch. Thank you for such an awesome module!

No card details in the admin/orders backend

Hello! Thank you very much for your module and your work!!! I have installed the 1.4 version of this module . In Fact, because of other problems, I installed it several times to make some test. Now it lets me make a payment using the module, tells me that the the order was successful but i cannot see the card details in the admin/orders backend. There is also no record created when i view the order_paymentcard table using phpmyadmin. I'm running the latest version of Prestashop, version 1.4.4 . Could somebody help me? Thank you ! by advance. Mr Rezza.

Expiration Date and Start Date are showing in gibrish

hi thank you so much for this module everything is look to work fine exepet Expiration Date and Start Date are showing in gibrish any idea how to fix it ? Image and video hosting by TinyPic

Adding other card types e.g Visa Electron

Hiya, Great Module, using it now, however we need to be able to disingish whether a card is a VISA or a VISA Electron, Is there a extra peice of code I can use to add this to the drop down when selecting the card type? Simon

Hello Simon,

Yes I think you should be able to tweak the javascript code to do this. Do you know what the difference between the cards is? Cheers Dave

Problem on version 1.4.4.1

Hi, I just downloaded this and installed on a fresh new install of Prestashop 1.4.4.1. However, I'm having a problem that I'm hoping is just an oversight on my part. When the customer chooses the "Pay with your Credit Card" button, instead of taking them to the payment details page as shown in your tutorial above, it instead returns the user to the log-in page. If the customer logs in again and gets to the payment button again and presses it, it again returns them to the log-in page. Have I missed a setting somewhere? No one else seems to have this problem and I'm guessing it's something that can be fixed easily. Thanks Alex

I have same issue

I posted a thread to as perhaps to disable instant check out. Maybe someone is watching and can help

I have the same issue...

I have the same issue, but only if the customer decides to use the express check-out without creating an account...

Is this compatible for version 1.4 of prestashop?

Hi, is this module compatible with prestashop 1.4? thanks in advance

hello, yes it is

http://code.google.com/p/prestashop-offlinepayments/downloads/list the version entitled ccpayment.14.zip was written for 1.4.* prestashop. Did this version not work on your 1.4 store?

Plans to or how to get this working with PS 1.4.3

Hey I have used this module for all my customers brick and mortar to internet store and it works fantastic in 1.3. I have a new customer who is actually my sons BMX sponsor and I built him a shop to help him out. Is there a fix for this so they can use this in their 1.4 installation? Installs with no error but the form doesnt display when i try to put in card payment data. Thank you for the module it makes transitioning traditional stores to the internet world of commerce so much easier!

Hello

This should work in 1.4, would you mind letting me know if you have any errors in your apache error log and I will see what the problem might be? Thank you

I have just installed the 1.4

I have just installed the 1.4 version of this module and all seems to go okay, Installs with no errors and creates DB table fine, lets me make a payment using the module, tells me that the the order was successful but i cannot see the card details in the admin/orders backend. There is also no record created when i view the order_paymentcard table using phpmyadmin. There are a couple of differences between the table the module creates and the tables already in my database. These are the storage engine in my database is InnoDB while the one created by the module is MylSAM. Also the collation of my database tables is utf8_general_ci where as the ones created by the module are latin1_swedish_ci, could these differences cause any problems? I'm running the latest version of Prestashop, version 1.4.2.5 Hope you can help, Thanks!!

Hello

Right that's a pain. I can't think of why that might happen I will do some investigation. One question is this the first time you installed the module or did you have a previous version installed? Also would you be able to add error logging on (assuming this is a test shop) it might point out what is going wrong see here for help on this http://www.techietips.net/turn-on-prestashop-debugging.html Thank you

Thanks for the reply

Thanks for the reply.
I already had debugging turned on but as there appears to be no error occurring nothing comes up in the browser, unless there is a log file that I can view? I don't think that I had previously installed this module, i always test new modules in a test environment first.
Yesterday i did a clean install of PS locally using MAMP, installed your module and it seemed to function fine and i could see the card/customer details in the BO. Over the weekend i will try a fresh install on my webserver and see how that goes. I guess that there must be something messed up with either my database or PS install.
Any ideas before I proceed.
Thanks

Well thats odd

It sounds like you are doing everything correctly. It is odd that it didn't write to the database. This module is quite simple and basically just writes the form submission to the DB so thre isn't much togo wrong - but something did somewhere! There are apache logs to check on a red hat server the logs are /var/log/httpd/ that is often useful

Nice app! How to use a swiper with it and process charges?

First of all, thank you for working on this. Kudos. Second: I have been looking for a way to use Prestashop as a POS-Point of Sale Terminal, and do card swiping (for when the customer calls in). Can this app do that? It seems that it takes the card info and stores it, but doesn't process the charges. I guess the store owner would have to go through the charges later and process each one, or export then and upload it as a batch to their credit card processor. Is my thinking on this right? Thank you ahead of time, if you have time to respond. JL

Thank you

Yes your right, basically the customer adds a product to their cart and check out in the normal way. The then choose to pay with this module and enter their card details. This is stored as an order like any other except the shop owner manually takes the credit card details and puts it through their Bank supplied card machine or other method. I think that is what most people do with it anyway! As for taking orders over the phone, as it stands I think you would have to take the users details over the phone and sign up an account for them I think this would be treated as a "customer not present" by your bank and be allowed but I am not an expert!

Adding a Surcharge to Card Payments?

Can this module apply a surcharge to the sale value as a percentage? If so, can it apply different percentages for different cards? For instance, we charge an additional 1% for Visa and Mastercard and 3% for AMEX. Can the card payment page be altered to include a text message displaying the surcharges? Thanks

Not out of the box

It doesn't do thaat at present, but it might be possible. Currently the module just takes the card details and records them (encrypted) in the database. If the user chose to to use an amex card the additional price would not get added at this point as the order is almost complete. I would have to think bout how to add the surcharge. It is possbile though. Do many businesses add surcharges?

Validation

When I hit submit order, the page attempts to download the "validation.php" file. How can I fix this? :S

Can't it just say "payments" rather than offline payments module

How do I fix it to just say "payment" and not offline payment module? I don't want my customers to see "offline payment module" it's a bit unprofessional.

I have done it for you

i have created a version which says ccpayment download from here http://code.google.com/p/prestashop-offlinepayments/downloads/list?saved=1&ts=1303034232 Ta

Hey, great module! Any chance

Hey, great module! Any chance of a v1.4 version that also says "CC Payments" only as the v1.4 includes the word "Module" which looks a bit techy. Thanks!

Can't progress from info capture area, its doing its job well :)

Hey Thank you so much for this.. I've just started Php programming and this is an an amazing way to understand things step by step.. This is really fantastic module! i've been looking for something similar for a while now.. thank you so much for this!.. i'm trying to test it on my site.. and i'm having trouble progressing from the info capture screen.. i can't seem to enter any card numbers that are valid.. it wont let me progress.. which is great! - i just need to make sure.. all visa numbers all start with a fours and mastercard numbers with 5's right? what else am i missing? does the number have to relate with the other options aswell? i can't find any combinations which let me progress? .. i'm using 1.3.6 if that has anything to do with it :) Thanks you so much for a great module and tutorial!

hey dont worry about the

hey dont worry about the above :).. i found this online which shows which numbers are test suitable for each card type http://www.planetpdf.com/codecuts/pdfs/tutorial/CredCard.pdf Thanks again!

No Payment page...

when I click on 'Pay with credit card or debit card', the next page that appears is blank...

Which Version

Hello Which version of Prestashop are you running? If it is version 1.4 then I am afraid I haven't converted the module to that yet. I expect it would be a smarty problem. When I get a little time I will convert all of the modules from 1.3 to 1.4. Hopefully in April

Re Prestahop v1.4

Hi - I've fixed it to run without errors on 1.4 up to payment page - When details are entered, order details and card numbers carried over OK into back end, but resulting page after submit is a blank validation.php in another tab. In the back-end admin the order is made (correctly). Any ideas for a quick fix to this - doesn't look like it's much! Bazz

Hello Baz

Does the version for 1.4 not work? I added the latest version that should run on 1.4. It certainly seemed to work okay http://code.google.com/p/prestashop-offlinepayments/downloads/detail?name=ccpayment.14.zip

v1.4

Hi - thanks for the reply - the 1.4 module works, order details submitted to backend fine, confirmation emails sent etc. But on the front-end after clicking submit I get an "I.E. Cannot display the webpage" screen with link pointing to https://domain/testpshop/modules/ccpayment/validation.php -am wondering if it's a file permissions issue - should the folder and files be 777? Thanks Baz

Hello again

Right, that sounds annoying! I am not sure what the error is all of the sites I run it on run 1.3 so I haven't had much troubleshooting on 1.4 Anyway lets have a go - assuming this is a devleopment environment (don't muck about on a live intstall of course!) could you turn on error messages so we can get an idea of what is going wrong, this is found in the file /prestashop/config/config.inc.php Please change the line (around line 29 on my install) /* Debug only */ @ini_set('display_errors', 'off'); to /* Debug only */ @ini_set('display_errors', 'on '); Then try again and see if an error is displayed. Also please check the apache error log and see if anything is displayed

1.4 version blank validation page issue found!

Hi - found the issue with the validation.php going blank after submitting the order! If the checkout preferences are set to the usual multistage checkout it works fine and confirmation of order page shows. The problem only happens when the 'one-page checkout' option is selected - so think it's more a Prestashop bug - not an error in the module! Baz

great job

on troubleshooting that one - i will have alook and see what needs to be done Ta

Re debug

Hi Did that and set debug SQL to true also - following in logs: From Error log [Fri Jun 17 15:35:02 2011] [error] [client 213.83.88.238] File does not exist: /var/www/vhosts/thermometer.co.uk/httpdocs/testpshop/themes/prestashop/css/modules/img, referer: http://thermometer.co.uk/testpshop/ [Fri Jun 17 15:35:02 2011] [error] [client 213.83.88.238] File does not exist: /var/www/vhosts/thermometer.co.uk/httpdocs/testpshop/bot-trap, referer: http://thermometer.co.uk/testpshop/ [Fri Jun 17 15:36:13 2011] [error] [client 213.83.88.238] File does not exist: /var/www/vhosts/thermometer.co.uk/httpdocs/testpshop/themes/prestashop/css/modules/img, referer: https://thermometer.co.uk/testpshop/quick-order from access_SSL.log mail.etiltd.co.uk - barry [17/Jun/2011:15:36:25 +0100] "POST /testpshop/quick-order HTTP/1.1" 200 1973 "https://thermometer.co.uk/testpshop/quick-order" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:26 +0100] "GET /testpshop/modules/gcheckout/gcheckout.gif HTTP/1.1" 200 3083 "https://thermometer.co.uk/testpshop/quick-order" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:26 +0100] "GET /testpshop/modules/ccpayment//img/cards.png HTTP/1.1" 200 5115 "https://thermometer.co.uk/testpshop/quick-order" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:30 +0100] "GET /testpshop/modules/ccpayment/payment.php HTTP/1.1" 200 10042 "https://thermometer.co.uk/testpshop/quick-order" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:33 +0100] "GET /testpshop/themes/prestashop/css/modules/img/icon/search.gif HTTP/1.1" 302 533 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:33 +0100] "GET /testpshop/modules/ccpayment/css/ccpayment.css HTTP/1.1" 200 1333 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:33 +0100] "GET /testpshop/modules/ccpayment/js/ccpayment.js HTTP/1.1" 200 3685 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:33 +0100] "GET /testpshop/img/logo.jpg?1308321390 HTTP/1.1" 200 14923 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:34 +0100] "GET /testpshop/modules/ccpayment/img/ccpaymentForm-fieldset.gif HTTP/1.1" 200 3451 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:34 +0100] "GET /testpshop/modules/ccpayment/img/ccpaymentForm-divider.gif HTTP/1.1" 200 555 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:36:34 +0100] "GET /testpshop/img/favicon.ico?1308321390 HTTP/1.1" 200 1563 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" mail.etiltd.co.uk - barry [17/Jun/2011:15:37:03 +0100] "POST /testpshop/modules/ccpayment/validation.php HTTP/1.1" 302 8005 "https://thermometer.co.uk/testpshop/modules/ccpayment/payment.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" SQL debug on: Table 'test.ps_mailalert_customer_oos' doesn't exist SELECT id_customer, customer_email FROM `ps_mailalert_customer_oos` WHERE `id_product` = 394 AND `id_product_attribute` = 0 Not sure if that helps. Prior to testing with errors on page after submit clicked is: https://thermometer.co.uk/testpshop/modules/ccpayment/validation.php and that brigs up an IE error message. Thanks, Baz

Flawed for downloads

Appears to work well enough for card capture but for downloads the order is activated and a download is available before the card can be processed offline. Is there a fix for this?

there is not

my module is not clever enough for that. That is something I will need to develop. I will need to find out what other modules like the cheque do and copy that idea.

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

Download-Link offlinepayments

Hi guvnor,i don't find the download link of the last version... i've installed version 1.4 but i cannot retrieve card-information in backend as well in data base...thank you!