PrestaShop Forums: 2Checkout Payment Module V0.4 Now Available!!! - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


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


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

#1 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 09 July 2008 - 09:31 PM

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 File(s)


Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#2 2flowers

    PrestaShop Newbie

  • 02 Jun 2008
  • Members
  • Pip
  • 10 posts

Posted 09 July 2008 - 11:46 PM

Thanks for the work :) ! I will be testing it tonight

I will place my comments tomorrow morning

#3 2flowers

    PrestaShop Newbie

  • 02 Jun 2008
  • Members
  • Pip
  • 10 posts

Posted 10 July 2008 - 12:14 AM

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 File(s)



#4 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 10 July 2008 - 07:48 AM

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

  • 02 Jun 2008
  • Members
  • Pip
  • 10 posts

Posted 10 July 2008 - 12:53 PM

Will you upload a new module? or online a file of the module?

#6 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 10 July 2008 - 12:55 PM

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

  • 02 Jun 2008
  • Members
  • Pip
  • 10 posts

Posted 10 July 2008 - 01:06 PM

great :) ! I will instaill it now.

#8 2flowers

    PrestaShop Newbie

  • 02 Jun 2008
  • Members
  • Pip
  • 10 posts

Posted 10 July 2008 - 06:54 PM

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

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 10 July 2008 - 07:06 PM

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

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 10 July 2008 - 09:16 PM

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

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 11 July 2008 - 10:03 AM

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

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 16 July 2008 - 01:09 PM

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

  • 20 May 2008
  • Moderators
  • 1151 posts
  • Location:Madrid (Spain)

Posted 16 July 2008 - 01:43 PM

Alpha, you can do the same changes for HSBC, Pay with Credit Card.
I'll look 2Checkout ;-) Only Spanish :question:
jenasexyshop.com
www.mcmregalos.com
www.israghostshop.com

#14 hablutzel1

    PrestaShop Newbie

  • 21 Apr 2008
  • Members
  • Pip
  • 11 posts

Posted 16 July 2008 - 08:33 PM

My name is Jaime and I feel that I can work with you translating from english to spanish byee

#15 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 16 July 2008 - 08:39 PM

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

  • 21 Apr 2008
  • Members
  • Pip
  • 11 posts

Posted 16 July 2008 - 08:41 PM

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

#17 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 16 July 2008 - 08:48 PM

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 File(s)

  • Attached File  es.zip (2bytes)
    Number of downloads: 197
  • Attached File  fr.zip (2bytes)
    Number of downloads: 111

Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#18 PresseTaChope

    PrestaShop Newbie

  • 08 Jul 2008
  • Members
  • Pip
  • 8 posts
  • Location:PARIS

Posted 17 July 2008 - 12:19 PM

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

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 17 July 2008 - 12:36 PM

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

  • 14 Apr 2008
  • Members
  • PipPip
  • 39 posts
  • Location:Toulouse

Posted 17 July 2008 - 07:18 PM

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 ?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users