Jump to content
Sign in to follow this  
tigergirl

Sage Pay Form V1.1

Recommended Posts

oh, and the failed transaction didn't have the cartID at the end of the unique ref....

 

So, back to paypal, but I see they are having issues too...great. And now I'm busier as the school holidays are finished.... everyone wants to buy but they can't pay :(


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
LIVE FAIL LIVE FAIL LIVE FAIL...

 

i am sorry but i dont recognise any of the issues in your posts. protx form is the most easy, reliable payment module I have ever used. the only time consuming bit would be to customise the look & feel at protx server so that it look a bit like the shop but that have nothing to do with functionality. i haven't tried any of the new sage pay module as yet. reason being the golden rule: dont fix it if it aint broke. dont even bother "upgrading" (referring more to paypal modules - some "upgrades" are done by idiots and sone only apply to a particular store).

 

@John: wonder if its possible to have an test account (some sort of paypal sand box) to test the new sage pay modules. not a good idea to use clients accounts to do tests on test server, which would be seen as abused.

 

Ken


commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Share this post


Link to post
Share on other sites

I can see my ssl settings are different in my live and test site - could that be it? I haven't had a problem that I'm aware of with that before. I did read the SSL posts and tinkered but the the cart kept emptying in IE but not firefox so I restored it. cookie ssl settings? SSL is issued to mysite.co.uk

 

Ken - there is the test vendor account (which I used initially) but someone said you could only test once you possess a sage vendor account. There is the simulator (like sandbox) but I recall someone else saying that Form 2.23 protocol won't work on simulator but I could be wrong. The simulator links are in the new form mod.

 

I think its:

Vendor: TestVendor

pass: testvendor

I've installed server on test website but waiting to hear what my fixed IP address is for ssl. Well, there was no server module for osc when I started with sage so it wasn't an option and I didn't want direct due to PCI.

 

Ken, I don't always use the newest mods and agree with some of the things you say but my Form is broke so I need to fix whatever is causing it and it IS broken for me.

 

I had to switch the old form moduile off today because almost every order was lost in admin. Typical that paypals IPN is b***er*d today.


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
I think its:

Vendor: TestVendor

pass: testvendor

i have just tested - it took me 1bout 5 minutes to download the sage form, install it then run a test on sage pay test server (similator wont work for the details given). as I always say, there is absolutely no problem whatsoever: order went thorugh to sage pay server, and after process returned back to the checkout success page, order was logged in admin - orders. see screenshots:

sage-form-test.jpg

 

 

sage-test-order-log.jpg

 

sage-test-order-log.jpg

 

I can say after the test that this new sage form is an excellent piece of work.

 

Ken

Edited by GemRock

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Share this post


Link to post
Share on other sites
Guest

Tigergirl,

 

Have you tried pointing your test website to the live sage pay server and trying a small test order using your own card?

 

Cheers,

Ross

Share this post


Link to post
Share on other sites
Guest
The sage emails arrived and are now "no longer on server" - is there a server issue?

 

Could you clarify what you mean by "no longer on server"? - Do you mean that you've received a confirmation email from Sage Pay, but that you can't see the order on the sage pay system?

Share this post


Link to post
Share on other sites

Hi Ross,

I just did a real transaction on my test site and it works of course, just like every other transaction on my test site. I will have to admit something on my live site is wrong.

 

ssl settings? it's issued to mysite.co.uk

 

here are mine:

 

test site has no www. anywhere:

includes/configure.php

define('HTTP_SERVER', 'http://mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://mysite.co.uk'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'mysite.co.uk');
define('HTTPS_COOKIE_DOMAIN', 'mysite.co.uk');
define('HTTP_COOKIE_PATH', '/testsite/');
define('HTTPS_COOKIE_PATH', '/testsite/');

 

admin/includes/configure.php

define('HTTP_SERVER', 'https://mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://mysite.co.uk');
define('HTTPS_CATALOG_SERVER', 'https://mysite.co.uk');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

 

Live site all www. except COOKIE_DOMAIN

includes/configure.php

define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.mysite.co.uk'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'mysite.co.uk');
define('HTTPS_COOKIE_DOMAIN', 'mysite.co.uk');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

 

admin/includes/configure.php

define('HTTP_SERVER', 'https://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://www.mysite.co.uk');
define('HTTPS_CATALOG_SERVER', 'https://www.mysite.co.uk');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Now, I have read some of the ssl threads but host says this cert will work with or without www. but as I am changing between www.mysite.co.uk & mysite.co.uk on live with the cookie_domain - is that it?

 

Do I add www. to cookie_domain or do I remove all www. from live? Will removing www. not mess up google rankings?

 

I don't like messing with the config files on my live site unless I'm sure what I'm doing and as I recall it was the host that altered the config files when ssl installed - I don't know why they are different.

 

Re the emails - as soon as the email from sage arrived on outlook, I got the MS message saying

 

Message is no longer available on the server

Outlook Express is unable to retrieve the requested message because the server no longer has the message available.

--------------------------------------------------------------------------------

News servers regularly expire articles as they get older to make space available for newer articles.

IMAP servers can be accessed by multiple e-mail programs at the same time. If you are using two programs to access your mail the list of messages maybe out of date. Use the refresh command to update this list.

Outlook Express

 

I still don't know if there is a little something going on with the server. If my ssl settings are wrong, I suppose using the Server module will have the same issue?

 

What should I have in my config files?


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
Guest

Hi,

 

Unless you have a wildcard ssl certificate, 'HTTPS_SERVER' should be set to the exact domain you gave when you ordered your ssl certificate otherwise your customers may get an invalid certificate error when they view the secure parts of your website. This could just be mysite.co.uk, but I would think more likely www.mysite.co.uk

 

If your HTTP_SERVER and HTTPS_SERVER addresses are both www.mysite.co.uk, then you could try changing both 'HTTP_COOKIE_DOMAIN' and 'HTTPS_COOKIE_DOMAIN' to be 'www.mysite.co.uk' rather than just 'mysite.co.uk'.

 

As for your emails, do you have outlook running on another PC that might have already downloaded the mail from your server before you opened it?

 

Cheers,

Ross

Share this post


Link to post
Share on other sites

Ross,

thanks for the tip, it's what I was thinking too.

 

I changed it to this

 

includes/configure.php

define('HTTP_SERVER', 'http://www.mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.mysite.co.uk'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '[b]www.[/b]mysite.co.uk');
define('HTTPS_COOKIE_DOMAIN', '[b]www.[/b]mysite.co.uk');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

 

just added www. to COOKIE_DOMAIN

Cleared the browser of all history/ cookies etc

 

Using Haralds V1.2 Form, managed a successful transaction with Visa Debit not in 3D secure scheme, order logged etc.

Tried another Visa Debit Card with 3D Secure - got the message 3D system unavailable, eventually clicked "skip" (which is hidden at bottom of screen BTW - John - can that be changed/ moved up?) which takes you back to the screen to choose another card. Doesn't seem right to me? Surely if the system isn't available you should be able to pay anyway? Doesn't it work like that?

 

Why was the system unavailable? Is that why my customers are abandoning sage and using paypal?

 

I reverted back to my old Form module and successfully managed to pay with the 3D secure Visa Debit card - all details logged correctly. So I'm happy to have the old module live for now to see if the lost orders bug has gone.

 

I'll wait to hear from someone knowledgable with 3D secure issue - is that a sage issue or the V1.2 module? Some problems are only clear when you go live. Some problems only affect certian websites. The key is to accept they exist for some people and try to solve. :blink:


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
...I just did a real transaction on my test site and it works of course, just like every other transaction on my test site. I will have to admit something on my live site is wrong...

whats the point of having a test site and doing tests on it if its different in any way from the live site (apart from the url)? i am afraid this is amateur way of doing things - waste of time.

 

Ken


commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Share this post


Link to post
Share on other sites

Ken,

that difference was actually my host - not me - they took care of the ssl installation - and I'm positive they changed my live site last time the ssl was renewed as the save date coincided and I know for a fact I hadn't touched it then. Obvioulsy the point of testing is that things are the same otherwise I would just test on my live site which is something I have never done. We're not all experts.... but I would expect my host not to make errors like that.

 

As it was intermittent, I couldn't have guessed that one, most likely was server timeouts. Time will tell if the ssl settings have fixed it for good, me more than anyone hopes it has.


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

in that case, i would like to remain you albeit too late that the first golden rule of running an online shop is to find a host that knows what they are doing better still specialies in osc in this case. an osc specialist knows 100 times better than an ordinary host whose main business is running a server nothing more. an online shop in many ways is different from an ordinary website. sorry not to be able to offer any specific help or suggestion as this would depend on the seeing the site not just beat about the bush.

Ken

Edited by GemRock

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Share this post


Link to post
Share on other sites

I see Harald has uploaded V1.2 (very kind & thanks) without updating this thread.

 

So, V1.2 now in testing -

 

FIXED:

I get the vendor emails from Sage. Thank you.

 

NOT FIXED IN FORM V1.2:

 

 

Ok, so I don't know what the $cartID actually is, where it comes from or where to look for it in osc admin and I guess if it's not passed it's not major as I get the info I need from the date/time stamp. Just irritating when things do not work as they should. Would be nice to have the osc order id here but of course the order isn't created until after the customer returns after payment.

 

I suppose we'd better keep a look out for the next version which may appear with the fix.

 

Will keep testing.

 

NB

I still feel creating orders before payment would be a very good back-up for the very widely known issues with lost orders in admin affecting others, not just me. I'm not bothered how paypal differs or doesn't rely on checkout_process or whatever = only ever bothered about my customers having a good experience and the website working correctly. So whether it's on the payment modules or a core code change - it is needed IMO. Sorry if the truth offends.

 

If anyone can give a pointer as to where my issues with lost orders may lie in checkout_process or whatever, please do. This will help others too.

 

We had the same problem.

It seemed to be the issue was that anytime a cartid was returned in the order number the customer was transferred to the wrong page, and was told the transaction failed (even though it didn't). We have amended the module to not include the cartid and this seems to have resolved the issue.

 

When the order number was created without a cartid the transaction was fine - I dont know why it hadnt included a cartid though!

 

So the issue is to do with the cartid - just not sure why!

Share this post


Link to post
Share on other sites

We had the same problem.

It seemed to be the issue was that anytime a cartid was returned in the order number the customer was transferred to the wrong page, and was told the transaction failed (even though it didn't). We have amended the module to not include the cartid and this seems to have resolved the issue.

 

When the order number was created without a cartid the transaction was fine - I dont know why it hadnt included a cartid though!

 

So the issue is to do with the cartid - just not sure why!

 

Can you remember what changes you made to do this? I'm at my wits end with this and just need to get something sorted so would really appreciate any help you can give.

 

thanks

Share this post


Link to post
Share on other sites

Can you remember what changes you made to do this? I'm at my wits end with this and just need to get something sorted so would really appreciate any help you can give.

 

thanks

 

I have spent the last 2 days on this same issue, but I have not still not come up with a solution. Strange thing is that it seems to be an intermittent issue, in that some times the order goes through fine and is recorded properly by both Sagepay & OsCommerce. However, given that Sagepay is the only payment option on the website, my client has been left with no option but to take the website offline. It is doing too much damage to the business having to make refunds etc. Sagepay staff are very friendly but not very knowledable 'm afraid.

 

Think it's getting to the stage where we will have to look at different payment processor.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×