PrestaShop Forums: [MODULE] Protx direct (VSP Direct) - on site payment - 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 !


[MODULE] Protx direct (VSP Direct) - on site payment


[MODULE] Protx direct (VSP Direct) - on site payment

#1 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 02 April 2009 - 07:33 PM

VSP (protx) Direct Integration Module
This is (as far as i know) the only on-site payment system for prestashop... no more nasty off-site systems... or being redirected.... When you use this module, people will never leave your site throughout the payment process.


10th June 2009 - Bug fix release
Yet another couple of bug fixes.
It's still (yes STILL) marked as the same version number. Two bug fixes don't really count as much.

Orders over £1,000 now display correctly in the administration area.
Upgraded to work with the latest svn build as of 20 mins ago (yes this includes the latest downloadable beta).

YOU MUST HAVE A VALID SSL CERTIFICATE
This basically means https:// instead of http they cost about 40$ and means people's credit card details won't get stolen.

Installation
You must enable ssl using the option under your back office -> preferences -> enable ssl

Besides that this installs the same as any other payment module.
Download it using the file download link at the bottom of the page.
Unzip and then upload the "vspdirect" folder into your /modules directory.
You must then go to the modules page in your back office. From there, press the install button next to the "protx direct" module.
You must then configure the module (click the configure link).

"vendor name" this should be your full protx vendor name.

"vendor email" This should be the email address you would like payment notification emails to go to.

"Protx TxType" This has only been tested in the default "PAYMENT" mode. If you don't know what this is, don't change it!

"Protx currency" This is the currency you would like protx to process your payments. Only GBP (British pounds) has been tested. However, i'm sure other currencies work fine.

"Protx CV2" Setting this to "yes" means a valid C.VV2 (the 3/4 security numbers) on your card must be correct for the payment to go through. Having this enabled is highly recommended.

"Protx 3D Secure" Another way of saying 3D Auth... Yes that's right... i did 3D auth support.... It has been tested and works fully :)

"Validate Billing Address" Having this enabled means that whatever the customer entered as their billing (invoice) address will be matched against the address registered with their bank.

"Payment Mode" This module works in 3 modes. You must have your account active and set up in the mode you specify.
To receive valid payments. You must set this to "live".

You must also add your server's IP address into the allowed list in your protx account before you are able to accept orders.



Disclaimer

I do not work for or with protx in any form. This is released as is, and comes with no guarantee or support contract of any kind.
If you would like support or have any questions or comments, please post in this thread. I got some very good feedback and questions from my protx form module but most of them were emailed so nobody else got to see them.

Integration with prestashop was painful, getting support from the prestashop community was almost non-existent... As was getting support from protx themselves.
Thanks for downloading!


THIS MODULE IS PROTX (VSP) DIRECT ONLY
This means it does not include vsp server or vsp form.

I have written a vsp form module which has been very well tested and can be downloaded here:
http://www.prestasho...ent_gateway_v2/

Requirements
This has been tested on a standard installation of PHP5 and MYSQL4

YOU MUST HAVE CURL INSTALLED AND WORKING
This module makes use of the php5 curl functions. Without them... interaction with the protx server is not possible (i think curl now comes with php5 as standard).

YOU MUST HAVE A VALID SSL CERTIFICATE
To process live transactions protx requires a valid (not self signed) SSL certificate of at least 128bit. You can now pick these up for about $40 so it's not going to break the bank....
3D Secure payments definitely screw up without one... and i wouldn't like to process card details without one....

You must also have a protx account (duh)



What this module does not do
This module does not automatically issue refunds when the order status is changed. Nor does it have the ability to charge defered payments.... I have thought long and hard about this and may release instructions on how to modify your copy of prestashop to allow this to happen. Until then... keep emailing the prestashop staff. Prestashop currently does not support this, please direct all comments about this towards them and keep it out of this thread....

Thanks
A thanks goes out to everyone who nagged me to get this finished and to everyone still releasing free modules.

I have seen some people linking to paid modules here and i don't like it... If you see a paid module, PM me and i will try and make a free and better version.
Prestashop needs more free modules to live... Or we'll all go back to using OScommerce (YUCK!)
Thanks to everyone who downloads this module.
And thanks to my client. For allowing me to release for free, code that i worked on in time they paid me for.

Lastly a thanks goes out to the prestashop team for giving us hope.


Plans for Sagepay

Over the next year or so, protx will be migrating to sagePay. This will mean that anyone using this module will have to upgrade in around a years time.

I looked into just doing a URL change for some of my customers and found that they have changed the bloody protocol, and so it will require more investigation.
I have literally spent 5 seconds looking at this... You might even just be able to change the version number to match and it will work... I haven't looked at the documentation.

Expect a sagePay module to appear soon.
This will include the new features that have been suggested in this thread as well as many more!

Attached File(s)



#2 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 02 April 2009 - 07:45 PM

You are a star, thank you so much. I shall give this a try later on.

#3 Dave Egerton

    PrestaShop Apprentice

  • 15 Dec 2008
  • Members
  • PipPip
  • 272 posts
  • Location:Hertfordshre, UK

Posted 03 April 2009 - 07:57 AM

That is excellent, very much appreciated, truly

for all of us who use (or will use) Protx a lot - thank you

#4 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 03 April 2009 - 11:02 AM

One thing that might need a future update would be the cancel payment button like you ahev on your protx form module. Not a big one.

Thanks for this.

#5 Newest

    PrestaShop Apprentice

  • 01 Mar 2009
  • Members
  • PipPip
  • 101 posts

Posted 03 April 2009 - 07:14 PM

From 1238697223:

VSP (protx) Direct Integration Module



I have seen some people linking to paid modules here and i don't like it... If you see a paid module, PM me and i will try and make a free and better version.
Prestashop needs more free modules to live... Or we'll all go back to using OScommerce (YUCK!)
Thanks to everyone who downloads this module.
And thanks to my client. For allowing me to release for free, code that i worked on in time they paid me for.

Lastly a thanks goes out to the prestashop team for giving us hope.



Thank you for the module. I am very appreciated it. Can you make a paypal pro for the community? I think it is what a lot of people want...Just a suggestion...Thanks.

#6 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 03 April 2009 - 07:15 PM

I think if you may the guy im sure he will bring it out for you!

#7 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 03 April 2009 - 07:54 PM

Is that the paypal account where you pay £20 a month and get on-site payment?

If so, you still need a internet merchant number and protx direct is the same price....

Although i'm not saying i'll never make one :-)

EDIT:
Just remembered a bit about paypal pro... Even if i don't make one... it might help someone else...

There are two versions of website payments pro. One for the UK and one for America. Both a totally seperate and have many small differences (helpful huh!)

I have done a small ammount of work in the past on the UK version. It uses a system called payflow, and can be a total pain... but i can't see why it couldn't work under prestashop using a similar idea to my protx direct module.

The American one however, i know almost nothing about. If i made a module for the UK one, it wouldn't work under the American system and i have no way of testing or developing an American version as all my customers are in the UK and i have no access to an American account...

#8 thehandlestudio

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 250 posts
  • Location:Wales, United Kingdom

Posted 03 April 2009 - 08:07 PM

I think after reading alot of threads on here paypal pro would be highly sourced after and thats me included.

Mark.
The Handle Studio
http://www.thehandlestudio.co.uk
Bringing Quality Direct To Your Door

Top Quality Hosting & Support
Use presta8656 coupon code and get 10% extra off


#9 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 03 April 2009 - 08:08 PM

Read my post above... I might make a new thread on this... Are people talking about the American one... the UK one? or both?

#10 thehandlestudio

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 250 posts
  • Location:Wales, United Kingdom

Posted 03 April 2009 - 08:12 PM

I would think both, but in my case it would be the UK version. A very nice module by the way.

Mark.
The Handle Studio
http://www.thehandlestudio.co.uk
Bringing Quality Direct To Your Door

Top Quality Hosting & Support
Use presta8656 coupon code and get 10% extra off


#11 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 03 April 2009 - 08:30 PM

I really think that paypal is not the way to go when you have a business. The fees are higher than merchant accounts and because its not a merchant account you do not have any control over it. Say someone charges back an item you sent them, paypal charge you for this and you don't have any come back. With a real merchant account you do. With a merchant account you a verify the customer in full, unlike paypal lets any con man on it.

#12 Star

    PrestaShop Addict

  • 01 Jan 2009
  • Members
  • PipPipPip
  • 618 posts
  • Location:California

Posted 03 April 2009 - 08:54 PM

I will vote for a paypal pro US version. This is great for the US business.

Thank you very much.

#13 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 03 April 2009 - 09:18 PM

I'll give the American one a go over the next few weeks.

Atleast then both US and UK prestashop users will have their own way of taking payments on-site.


If there's anything you'd like changed from my protx direct module (in terms of functionality) please let me know in the new paypal thread:
http://www.prestasho..._wpp__american/

I would like to keep this thread clean for the protx direct module discussion.

#14 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 08 April 2009 - 06:04 PM

Can you tell me at all, how to edit the name in the users account order history from "Protx Direct" to "Credit/Debit Card"

#15 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 08 April 2009 - 06:31 PM

You could try:
changing line 19 of vspdirect.php from:

$this->displayName = $this->l('Protx Direct');


to


$this->displayName = $this->l('Credit/Debit Card');


#16 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 10 April 2009 - 10:03 PM

Can you ava look at this for me please: http://www.prestasho...moving_order_id

#17 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 16 April 2009 - 01:29 PM

Just to let you know. Version 0.2 can be downloaded in my first post.
http://www.prestasho...n_site_payment/

This fixes the issue above as well as some problems with 3D Secure (3d auth). If you use 3d auth. UPGRADE RIGHT NOW! some of these issues are very important and without upgrading could mean people are completing orders without the transaction going through completely!

#18 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 16 April 2009 - 01:38 PM

thanks thanks thanks, you are a top bloke!

#19 elachys

    PrestaShop Apprentice

  • 16 Oct 2008
  • Members
  • PipPip
  • 44 posts

Posted 16 April 2009 - 01:40 PM

That's a really fast reply!
I updated because of the 3D secure issue. I noticed your post and it was an easy enough fix... So why not! :)

#20 ukbill69

    PrestaShop Apprentice

  • 26 Mar 2009
  • Members
  • PipPip
  • 70 posts

Posted 16 April 2009 - 02:07 PM

dont muck about lol.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users