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

[Module] Protx Payment gateway V2

30 replies to this topic
#1
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
This is the second version of my protx payment module.

You can install this over the top of the old one by simply overwriting the files. New users can just install it as normal.

I have added <?php so there shouldn't be any issues with short tags.

it shows all the response info from protx in the order comments.

I have also allowed you to set the TxType (as requested by a nagging customer of mine!).

If you don't know what this is then you should just be able to leave it on the default (PAYMENT).

Attached Files



#2
Dave Sniper

    PrestaShop Apprentice

  • Members
  • PipPip
  • 57 posts
Hi Elachy,

Its brilliant. This module is really helpful. I will definitely try it out. Thanks for all hard work.


All the bests,

Dave

#3
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Hi this is an excellent module had a few requests for this one myself but unfortuntly not had much development time lately :down:

There seems to be one very small bug which probably only relates to the latest v1.1 version
global $cookie causes hack attempt so this is no longer required which fixes this issue ;)

change:

public function hookPayment($params)
{
global $smarty;
global $cookie;

to:

public function hookPayment($params)
{
global $smarty;

Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#4
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
Whoops. Sorry that seems to be legacy code... i never actually use that cookie so you can remove that line and the one below it... (or you can download the new version from the top).
Not going to both putting a new release number...

#5
Dave Egerton

    PrestaShop Apprentice

  • Members
  • PipPip
  • 272 posts
elachys

Excellent, many thanks

Its this just for VSP forms? I have a need for VSP direct on a site using SSL.

thanks

#6
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
You're correct.
This is not for protx direct.

Once i have a customer who requires Protx Direct, i will code that too :)

Any volunteers?

#7
Dave Egerton

    PrestaShop Apprentice

  • Members
  • PipPip
  • 272 posts
Hi Elachys

Ok, well I was wrong, they are not using VSP Direct just yet.

But next order, once we are 100% happy to start installing Presatshop (as we are in final evaluation stages), if you have not done it by then, and we are too busy to code ourselves, we will agree a price and you can make it available to everyone if you like...

#8
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
Thanks for showing such an interest Viper :) .

Just to give you an idea of time. I won't be writing any more payment modules for any of our customers within the next 3-4 months.

So if you're still interested in arranging something else. Feel free to Private Message me.

#9
ukbill69

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
I would love to see this as protx direct. Add my vote!

#10
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
I have actually just finished my protx direct module.
I will update this post in a couple of days when the new module is out.

#11
ukbill69

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Thanks, thats great news.

#12
ukbill69

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Any luck adding this at all? Cant wait for this one!

#13
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
I was going to add auto-refund support and then release.
I spent most of today sending frustrated emails through the prestashop contact form to no avail.

This means i will be releasing a version tomorrow... sometime around mid-day GMT ... if i'm lucky and have a slow friday at work :P

#14
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
I couldn't wait till tomorrow.
A far too rushed release here:
http://www.prestasho...n_site_payment/

#15
ukbill69

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Your very good. Refund support would be brill, but doesnt matter that much as you can login to protx admin and refund in there.

#16
first1

    PrestaShop Addict

  • Moderators
  • 546 posts
Protx offers custom forms so the look and feel of the form can be like prestashop from what i understood.

http://techsupport.p...omtemplates.asp

I dont know how to start and how to do it, has anyone done that or know what it takes?
If we answered your question, please add [Solved] at the beginning of your topic’s title by editing your first post !
Thanks.

#17
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
You can integrate templates for protx form using XSLT's. You create the templates and then submit them to protx (aka sage pay).

They have examples and such on their website.

#18
first1

    PrestaShop Addict

  • Moderators
  • 546 posts
Thank you for your reply,
I have downloaded the templates, but I am not sure how this works, do i need to edit the XSLT files? is there a visual program that can be used to edit them (something like dreamweaver)?

and the second question is, do i need to send them the XSLT or the htmls?

sorry for being slow.
If we answered your question, please add [Solved] at the beginning of your topic’s title by editing your first post !
Thanks.

#19
elachys

    PrestaShop Apprentice

  • Members
  • PipPip
  • 44 posts
You need to send them the XSLT files.
You can try loading them into dreamweaver, it should be able to make sense of the html sections.... although i wouldn't recommend it.

#20
ukbill69

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Ring protx up they will help you!