Reputation: 1
It would appear that access to Sagepay resources to just make a simple payment form is quite limited.
I am trying to create a simple form that submits to SagePay with a fixed GBP value. I have used the code posted here:
Why Is jQuery Not Submitting This Form? (Or What Have I Done Wrong? :-p)
However, the issue I have is that I am missing their referenced fix 'includes/cart/ajax/sagepay.php' which I believe takes the values and encrypts them as Base64. Does anyone have any advice on how I could recreate such a file to return the value in the format I need?
Upvotes: 0
Views: 1944
Reputation: 639
Check out my sagepay form class https://github.com/tolzhabayev/sagepayForm-php
Upvotes: 2
Reputation: 51
Maybe you can use these classes for PHP. https://code.google.com/p/sagepay-form-class/source/browse/
Upvotes: 1
Reputation: 4733
Have you downloaded one of the Integration Kits from their support page?
I was able to take a .dll file from the .NET version (I'm working in .NET, though, which no doubt helps) and use a function which appears in there to do the encoding. However, I'm trying to do something as simple as you are and still failing thus far.
Upvotes: 0