PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

2Checkout Payment Module V0.4 Now Available!!!

118 replies to this topic
#1
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
This module was developed by Alpha Media & donated by 2flowers - www.2flowers.com

Quick & easy setup instructions

1) unzip & upload to your modules directory
2) install this payment module through Prestashop Back Office
3) insert your vendor account number & save your settings

PLEASE NOTE YOU HAVE TO SET YOUR CALL BACK URL WITHIN 2CHECKOUT ADMIN!
for example: Replace - http://www.domain.co.uk with your own URL
http://www.domain.co.../validation.php

This payment option will then be available to use with your online store.

Currently with V0.4 you have to manually configure the demo setting in checkout.php line 136
$demo = "Y"; // Once the site is ready to go live Please change this value manually to "N"

I will be looking at adding this in to the setup & any other additional improvements people think of for future versions of this payment module.

Enjoy ;-)

Just a quick note:

in test mode for any payment module's you can use the following details

credit card number: 4111111111111111
security number: 123

any expiry date in the future!

Last Edited 18th July
2Checkout Payment Module V0.4 - Now Available FREE download now! - changes & bug fixes below!

.................................................................................................................................................................................

Change-log V0.4
This payment module now includes tanslations for French & Spanish!
small bug found in function _displaycheckout - $modDesc now fixed!
fixed 2Checkout.gif - now displays in all the template files!

Change-log V0.3
2Checkout official logo now added
Modules tab Admin bug now fixed - Warning: Invalid argument supplied for foreach()
Removed custom order status as this module uses Prestashop default order status.

.................................................................................................................................................................................

IF ANY ONE FEELS THEY WHICH TO CONTRIBUTE WITH THEIR OWN TRANSLATIONS FOR ANY OF MY MODULES PLEASE FEEL FREE TO POST YOUR LANGUAGE FILES HERE! THIS WAY I CAN THEN INCLUDE THESE CHANGES IN FUTURE RELEASES!

Helpful Tips
If you have installed this module & managed to get through to the 2Checkout's payment screen & receive the following error
Parameter error - Why am I getting a Parameter Error, even though all parameters are setup correctly?
This is because your account is currently marked inactive the sales! more information regarding this issue here
http://www.2checkout...arameter-error/

Important Uninstall all versions prior to V0.3 as bugs have been found
1) Simply Uninstall your module via Payments Tab
Click on Orders Tab --> Order Statuses
2) Remove any reference here to 2Checkout as this will not be required for the next version!!!

Attached Files


Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#2
2flowers

    PrestaShop Newbie

  • Members
  • Pip
  • 10 posts
Thanks for the work :) ! I will be testing it tonight

I will place my comments tomorrow morning

#3
2flowers

    PrestaShop Newbie

  • Members
  • Pip
  • 10 posts
amwdesign On the payment method selection at prestashop I think the "Pay with 2checkout" text should be changed to Pay with Credit Card, as people do not know what is 2checkout, thet dont know that is a payment processor.

also change the 2CO logo for the following one where are listed all the credit cards accepted at 2co.com

Attached Files



#4
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Please anyone else feel free to make suggestions.
And I will try to action A.S.A.P. %-P
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#5
2flowers

    PrestaShop Newbie

  • Members
  • Pip
  • 10 posts
Will you upload a new module? or online a file of the module?

#6
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
I have updated the module above with your changes!
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#7
2flowers

    PrestaShop Newbie

  • Members
  • Pip
  • 10 posts
great :) ! I will instaill it now.

#8
2flowers

    PrestaShop Newbie

  • Members
  • Pip
  • 10 posts
I have receive this error when I install it

" Warning: Invalid argument supplied for foreach() in /home/flowerss/flowersspain.com/html/classes/ObjectModel.php on line 350

Warning: Invalid argument supplied for foreach() in /home/flowerss/flowersspain.com/html/classes/ObjectModel.php on line 358 "

Also when I press configure I receive this errors

" Notice: Undefined variable: moduleDesc in /home/flowerss/flowersspain.com/html/modules/checkout/checkout.php on line 277

Notice: Undefined variable: modcheckoutnfirm in /home/flowerss/flowersspain.com/html/modules/checkout/checkout.php on line 282

Notice: Undefined property: checkout::$SID in /home/flowerss/flowersspain.com/html/modules/checkout/checkout.php on line 297 ""

#9
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
It installed fine for me
PM you FTP & access details & I will see what is going on ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#10
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
I apologise to all, especially 2flowers %-P
Warning: Invalid argument supplied for foreach()

this is a bug but should not effect you as long as you configure this module via the payment tab.

However Notice undefined will not effect the operation of this module, this only shows when the filed is blank, if you have error reporting set to the maximum these notices will display
I will look to solve all these issues next week ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#11
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Change of plan I can't leave this module in the current sate.

Although this does work for some us there does seem to be a few bugs which I am starting to iron out slowly thanks to I have now set error reports up to the maximum on our server, for this reason I have removed the attachment above. In a short while I will upload the new zip which has fixed a few bugs relating to the checkout V0.2

Detail's of this T/B/A including change-log for those who have already downloaded this payment module.
I am afraid these type of modules always have a few teething problems :-P

For those of you who have installed this.
Important please read above in my first post!

2Checkout V0.3 Now available!
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#12
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Translators Required! ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#13
junnecito

    PrestaShop Fanatic

  • Moderators
  • 1193 posts
Alpha, you can do the same changes for HSBC, Pay with Credit Card.
I'll look 2Checkout ;-) Only Spanish :question:

#14
hablutzel1

    PrestaShop Newbie

  • Members
  • Pip
  • 11 posts
My name is Jaime and I feel that I can work with you translating from english to spanish byee

#15
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Sorry Junnecito already beat you to it :lol:
thanks anyway if you can translate into any other language's apart from Spanish & French that would be helpful
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#16
hablutzel1

    PrestaShop Newbie

  • Members
  • Pip
  • 11 posts
jajaj ok ok :( Ill learn another languaje. but please let me know when the spanish translation is ready Bye. thanks

#17
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Spanish & French translations available
sorry not had time to repack & test - these will be included in v0.4 in a few days
for now just drop these in to the checkout directory & Voilá :-P

Attached Files

  • Attached File  es.zip   2bytes   197 downloads
  • Attached File  fr.zip   2bytes   112 downloads

Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#18
PresseTaChope

    PrestaShop Newbie

  • Members
  • Pip
  • 8 posts
Hi,

I downloaded your module to get a template for building one and while studying it, I found that the "uninstall" did not remove the Order status (see Admin / Orders / Orders statuses ).
So multiple cycles of install / uninstall will add a lot of duplicate check out status ).

Changing the uninstall code in checkout.php solved the issue (PS RC5)

function uninstall()
{
Configuration::deleteByName('checkout_SID');
Configuration::deleteByName('checkout_CURRENCIES');
$checkoutState = new OrderState(Configuration::get('PS_checkout'));
$checkoutState ->delete();
Configuration::deleteByName('PS_checkout');
parent::uninstall();
}


Hope this helps

#19
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Thanks for bug tracking.
This issue relates back to v0.1, thishas been fixed in v0.3 which now uses the default order state _PS_OS_PAYMENT_

But you are right that had caused a few problems, so I had to remove this, as it was no longer neccesary.
thanks anyway ;-)
http://www.prestasho...thread/3268/P0/
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#20
elcafeine

    PrestaShop Apprentice

  • Members
  • PipPip
  • 39 posts
Hi, I have a question about 2 checkout. Do anyone could confirm to me that a customer with a paypal account could pay with the 2checkout process ? That's right, no ?