Re: Nixaks Sagepay Form Module
Hi Nixak,
I'm having trouble using the module on Zencart 1.3.9h. The shop is: https://www.loveaquatics.com/ and i can get as far as step 3 of the checkout and it hangs, it's like the rest of the page isn't loading.
The last piece of the source code is:-
<form name="checkout_confirmation" action="https://test.sagepay.com/gateway/service/vspform-register.vsp" method="post" id="checkout_confirmation" onsubmit="submitonce();">
That's it, nothing more, i can't continue. I have SSL enabled etc. Do you know what the problem could be?
The login to Sage Pay for me is: https://live.sagepay.com/mysagepay/loginpage.msp
Thank you.
Re: Nixaks Sagepay Form Module
In your admin change the module to simulator mode and then make a test purchase, you will be taken to a page where it will list everthing thats been sent & it will point out if anything is wrong. Let me know what you find.
Regards
Nixak
Re: Nixaks Sagepay Form Module
Hi Nixak,
Many thanks for your reply.
That's the thing, i cannot make a test payment at all as it's stuck on step 3 and shown here: https://www.loveaquatics.com/errors/step3.jpg
You cannot scroll past where it is ending because it's like an error, not fully loading the page.
Many thanks.
Re: Nixaks Sagepay Form Module
Quote:
Originally Posted by
Nixak
In your admin change the module to simulator mode and then make a test purchase, you will be taken to a page where it will list everthing thats been sent & it will point out if anything is wrong. Let me know what you find.
Regards
Nixak
Hi Nixak, found the culprit...
[14-Apr-2011 07:31:58] PHP Fatal error: Call to undefined function mcrypt_encrypt() in /var/www/vhosts/loveaquatics.com/httpsdocs/includes/modules/payment/sagepay_form.php on line 649
Is there an alternative to mcrypt?
Re: Nixaks Sagepay Form Module
I am having this exact same problem too.
My source code cuts off at <form name="checkout_confirmation" action="https://test.sagepay.com/simulator/vspformgateway.asp" method="post" id="checkout_confirmation" onsubmit="submitonce();">
I have been working on this for hours as I thought I was doing something wrong in my code
:(
Re: Nixaks Sagepay Form Module
I guess there is no fix to this. I am resorting to building something bespoke.
thank you anyway.
Re: Nixaks Sagepay Form Module
Quote:
Originally Posted by
daparky
Is there an alternative to mcrypt?
That suggests that your web host left out the mcrypt library, which acts a front end to a number of encryption algorithms, when they built the PHP being used on your server.
I'd ask them why. And whether they'd consider enabling it.
Re: Nixaks Sagepay Form Module
Quote:
Originally Posted by
kuroi
That suggests that your web host left out the mcrypt library, which acts a front end to a number of encryption algorithms, when they built the PHP being used on your server.
I'd ask them why. And whether they'd consider enabling it.
That fixed it.
It's working spot on now. Thanks for the help.
:clap:
Re: Nixaks Sagepay Form Module
I have a site that I have just added the sagepay module too and once I had the correct details setup I thought it was ok. Unfortunately when I full in the form on the sagepay site and its redirected to back to my site it comes up with the following:
Data was sent to URL:
https://test.sagepay.com/gateway/ser...m-register.vsp
-----------------------------------
Undecoded Data received from SagePay:
-----------------------------------
array(1) {
["main_page"]=>
string(16) "checkout_process"
}
-------------------------------------
Unprocessed Data received from SagePay:
-------------------------------------
------------------------------------------
Data received from SagePay after processing:
------------------------------------------
array(0) {
}
-------------------
Transaction status:
-------------------
Transaction denied!
The client currenlty has a live account - am I able to do test txns against it?
Bidirectional Port 43924 issue
I have tried to find a solution to this on the forum and cant see one so any help would be much appreciated.
Our webhosts have told us that they allow outgoing communication on port 43924 but not incoming. The Sagepay form module obviously requires bidrectional comms on this port. Is there a way of configuring the module and/or Sagepay to use a different port for the info that SagePay sends (our incoming port) or for both directions of communication?
Thanks in advance for your help.