sagepay

Why Is jQuery Not Submitting This Form? (Or What Have I Done Wrong? :-p)

点点圈 提交于 2019-12-11 04:04:31
问题 HTML: <form action="https://live.sagepay.com/gateway/service/vspform-register.vsp" method="POST" id="sagepay_form"> <input type="hidden" name="navigate" value="" /> <input type="hidden" name="VPSProtocol" value="2.23"> <input type="hidden" name="TxType" value="PAYMENT"> <input type="hidden" name="Vendor" value="******************"> <input type="hidden" id= "Crypt" name="Crypt" value=""> <input id="payment_proceed" value="Proceed To Payment" class="mws-button green" type="button"> </form> JS:

How to do a Sagepay Server inFrame integration?

一个人想着一个人 提交于 2019-12-10 00:12:51
问题 I tried all the tutorials but I found I was not able to integrate using Sagepay server inframe integration. 回答1: The documentation on the SagePay website is very good, generally you will need to create a class that can generate a some strings that are in the correct format and use curl to fire it over to sagepay then create a script to handle the response. If you have not already done so, create yourself a simulator account with SagePay so you can debug your script this is a seriously useful

Does anyone have a working example of Omnipay and Sagepay Server or Sagepay Direct (with 3D Secure)?

会有一股神秘感。 提交于 2019-12-08 08:01:42
问题 I'm struggling to get either to work and Omnipay doesn't come with much documentation. I've successfully used it for other payment gateways but not with Sagepay. I'm trying to integrate it into CodeIgniter but can work from examples in other frameworks - I'm getting desperate! 回答1: Thanks to some great help on github (see comments in my original post for the thread link), I now have some workable code which I will share here in case it helps someone else in the future. <?php use Omnipay

php mcrypt equivalent for sagepay on a windows server

ⅰ亾dé卋堺 提交于 2019-12-08 07:35:23
问题 Our company primarily used vbscript until fairly recently, when we started changing to PHP. Upon trying to integrate a SagePay form kit into one of our projects I came across this obstacle. We are on a windows 2008 server, and this cannot be changed. The server does not contain the mcrypt library and our server host will not install it due to it being a shared platform. The problematic line comes from a SagePay form kit that you use to pay for things with SagePay. Hopefully some of you will

php mcrypt equivalent for sagepay on a windows server

天大地大妈咪最大 提交于 2019-12-07 19:31:30
Our company primarily used vbscript until fairly recently, when we started changing to PHP. Upon trying to integrate a SagePay form kit into one of our projects I came across this obstacle. We are on a windows 2008 server, and this cannot be changed. The server does not contain the mcrypt library and our server host will not install it due to it being a shared platform. The problematic line comes from a SagePay form kit that you use to pay for things with SagePay. Hopefully some of you will be familiar with these. The line in question is: //** perform encryption with PHP's MCRYPT module

Encrypt for SagePay forms using ColdFusion

空扰寡人 提交于 2019-12-06 14:13:10
I am trying to follow a specification for an encrypted field in SagePay 3.00 using ColdFusion 10. The requirement is to encrypt the string as AES(block size 128-bit) in CBC mode with PKCS#5 padding using the provided password as both the key and initialisation vector and encode the result in hex. It's the "using the provided password" that is causing the problem. At the moment I have myStr = 'assortednamevaluepairsetc'; providedPassword = 'abcdefghijklmnop'; myCrypt = Encrypt(myStr,providedPassword,'AES/CBC/PKCS5Padding','HEX',providedPassword,1); but that won't work because the value I have

SagePay Server Integration Verify Signature

醉酒当歌 提交于 2019-12-05 16:52:39
I'm trying to integrate into SagePay using PHP and the Protocol documents. However I seem to be having a problem with the MD5 hash! Everything up to the point where we receive the notification POST is fine. However when we go to verify the signature it doesn't match the one in the notification POST??? Yet I have followed the document to the letter and quadruple checked everything. As well as changing things outside the scope of the document thinking there might be a typo etc..???? Any help much appreciated!!! A2: Acknowledged response on first POST. 3.00,OK,2014 : The Transaction was

WinHttp TLS connection in classic asp

℡╲_俬逩灬. 提交于 2019-12-04 05:49:07
问题 I'm trying to send payment data to SagePay and, as they are turning off SSL, it needs to be sent using TLS. The code I have is as follows: set httpRequest = Server.CreateObject("WinHttp.WinHttprequest.5.1") httpRequest.Open "POST", CStr(strPurchaseURL), false httpRequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" httpRequest.send strPost strResponse = httpRequest.responseText I've been told that adding an option lets you set the protocol used but the only one I've

Sage Pay v3.00 Integration

扶醉桌前 提交于 2019-12-03 18:07:58
问题 Can anyone help me incorporate the Sagepay v3.00 AES/CBC/PKCS#5 algorithm (encryption) into the following file. I'm really struggling to understand how to include so that customer data is encrypted to the new standard and then decrypted on the way back. Using Sagepay Form with a very old version of cs-cart, though have successfully managed to upgrade from version 2.22 to 2.23, but Sagepay are pulling all support from July. Not sure how much of this script is relevant to the encryption: <?php