sagepay

Sage Pay v3.00 Integration

筅森魡賤 提交于 2019-11-29 13:09:16
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 if ( !defined('IN_CSCART') ) { die('Access denied'); } if (defined('PAYMENT_NOTIFICATION')) { // Get

How to check Azure Network Security Group outbound IP Allowed or not?

邮差的信 提交于 2019-11-29 12:43:14
I have few problems regarding Azure Network Security Group. Currently I'm using Azure App Services to publish my website and in Azure, App Services, Network Side Controlled By NSG such as inbound and outbound security and other things. I'm working with sagepay payment gateway.they asked me to do following steps in order to success my sagepay integration. Please ensure that all of the following IP addresses are allowed within your Server or Firewall: For outbound traffic to our gateway: 195.170.169.9 – live.sagepay.com 195.170.169.8 – test.sagepay.com For inbound traffic you only need to

Encrypting Crypt field using Classic ASP for SagePay Form Integration

丶灬走出姿态 提交于 2019-11-29 12:04:50
I always get the same error 3045: The Currency field is missing, when posting this form: <form name="frmPay" action="https://test.sagepay.com/gateway/service/vspform-register.vsp" method="POST"> <input type="text" name="VPSProtocol" value="3.00" /> <input type="text" name="TxType" value="PAYMENT" /> <input type="text" name="Vendor" value="myvendor" /> Crypt:<textarea rows="10" cols="200" name="Crypt"><%=Crypt%></textarea> <input type="submit" value="Send" /> </form> I think the error is in the encryption Could someone send encryption routine for classic ASP? Lankymart UPDATE (19-Nov-2014): A

Classic ASP / IIS6 / Win2003 Server can't communicate with TLS server

浪子不回头ぞ 提交于 2019-11-28 13:56:29
Sage Pay today ended their exemption for sites to use SSL3 when communicating with their payment / authorisation servers. TLSv1 is now required. We have a Windows Server 2003 box running IIS6, and two sites written (sadly) in Classic ASP. The box has been patched / registry keys updated to mitigate against POODLE, and various online checkers back this up. The server should be using TLS ONLY. However, when trying to authorise a Sage Pay transaction using WinHttp.WinHttpRequest.5.1 and a POST, the attempt fails immediately. The only error fed back by WinHttpRequest is "-2147483638 - WinHttp

Encrypting Crypt field using Classic ASP for SagePay Form Integration

一笑奈何 提交于 2019-11-28 05:47:31
问题 I always get the same error 3045: The Currency field is missing, when posting this form: <form name="frmPay" action="https://test.sagepay.com/gateway/service/vspform-register.vsp" method="POST"> <input type="text" name="VPSProtocol" value="3.00" /> <input type="text" name="TxType" value="PAYMENT" /> <input type="text" name="Vendor" value="myvendor" /> Crypt:<textarea rows="10" cols="200" name="Crypt"><%=Crypt%></textarea> <input type="submit" value="Send" /> </form> I think the error is in

Classic ASP / IIS6 / Win2003 Server can't communicate with TLS server

别说谁变了你拦得住时间么 提交于 2019-11-27 19:33:00
问题 Sage Pay today ended their exemption for sites to use SSL3 when communicating with their payment / authorisation servers. TLSv1 is now required. We have a Windows Server 2003 box running IIS6, and two sites written (sadly) in Classic ASP. The box has been patched / registry keys updated to mitigate against POODLE, and various online checkers back this up. The server should be using TLS ONLY. However, when trying to authorise a Sage Pay transaction using WinHttp.WinHttpRequest.5.1 and a POST,

Status Detail: 3045 : The Currency field is missing

ε祈祈猫儿з 提交于 2019-11-27 15:54:02
I have added all the parameter in the Sagepay url. But it throwing an error currency missing. I am unable to solve this issue. Code: $cryptString = 'VendorTxCode='.$this->getVendorTxCode(); $cryptString.= '&ReferrerID='.$this->getReferrerID(); $cryptString.= '&Amount='.sprintf("%01.2F",($order->order_total_price-$order->order_fee)); $cryptString.= '&Currency=GBP'; //Status Detail: 3045 : The Currency field is missing. $cryptString.= '&Description='.$this->getDescription(); $cryptString.= '&SuccessURL=https://testurl/sage/success.php'; $cryptString.= '&FailureURL=https://testurl/sage/fail.php';