sagepay

How Do I Make a SagePay BuyNow Button?

雨燕双飞 提交于 2019-12-03 15:01:25
问题 With PayPal, I can create a BuyNow button pretty easily, containing my merchant info, price, tax, shipping, etc. Is this possible in SagePay? 回答1: The desired system is called SagePay Form as far as similarity to PayPal's BuyNow button + PDT process. First, you need to create a FORM like so: <form action="https://live.sagepay.com/gateway/service/vspform-register.vsp" method="POST" id="SagePayForm" name="SagePayForm"> <input type="hidden" name="VPSProtocol" value="2.23" /> <input type="hidden"

How Do I Make a SagePay BuyNow Button?

淺唱寂寞╮ 提交于 2019-12-03 03:50:39
With PayPal, I can create a BuyNow button pretty easily, containing my merchant info, price, tax, shipping, etc. Is this possible in SagePay? Volomike The desired system is called SagePay Form as far as similarity to PayPal's BuyNow button + PDT process. First, you need to create a FORM like so: <form action="https://live.sagepay.com/gateway/service/vspform-register.vsp" method="POST" id="SagePayForm" name="SagePayForm"> <input type="hidden" name="VPSProtocol" value="2.23" /> <input type="hidden" name="TxType" value="PAYMENT" /> <input type="hidden" name="Vendor" value="<?= $YOUR_VENDOR_LOGIN

WinHttp TLS connection in classic asp

核能气质少年 提交于 2019-12-02 13:29:15
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 found is: httpRequest.option(9) = 2720 which allows for TLS and SSL but it can only be TLS, does anyone

3DSv2 Sagepay Direct Integration basics

你离开我真会死。 提交于 2019-12-02 11:51:53
问题 The documentation for Protocol 4.00 could be more helpful. For everyone struggling to get 3DSV2 working, I'd like the basics spelled out by anyone who has managed to get it working. I'll summarise the flow as I understand it, please everyone, help by correcting where necessary and by adding in any issues such as removing the {} braces from VPSTx_Id. Make your request to SagePay to register the transaction, include ThreeDSNotificationURL which is the url where the ACS will redirect your

3DSv2 Sagepay Direct Integration basics

拈花ヽ惹草 提交于 2019-12-02 06:43:31
The documentation for Protocol 4.00 could be more helpful. For everyone struggling to get 3DSV2 working, I'd like the basics spelled out by anyone who has managed to get it working. I'll summarise the flow as I understand it, please everyone, help by correcting where necessary and by adding in any issues such as removing the {} braces from VPSTx_Id. Make your request to SagePay to register the transaction, include ThreeDSNotificationURL which is the url where the ACS will redirect your customer if successful, or not. If the response from SagePay is 3DAUTH, build a form to show to the customer

Sagepay Forms encryption method Classic ASP

别等时光非礼了梦想. 提交于 2019-12-01 09:42:31
问题 I have a bespoke shopping cart developed using Classic ASP and I need to integrate it with SagePay Forms. I am struggling to find any documented ASP code examples of how to encrypt the orders data to send to Sagepay. Could anybody who has done this point me in the right direction? 回答1: There are some classic ASP examples here. 来源: https://stackoverflow.com/questions/26993768/sagepay-forms-encryption-method-classic-asp

SagePay .Net Integration Kit - Error when returning NOTAVAILABLE value for 3dSecureStatus

爱⌒轻易说出口 提交于 2019-11-30 17:49:02
问题 I have implemented SagePay payment using the Form Integration. My implementation is based on the .Net integration kit supplied by SagePay which has all been good. Recently we have enabled 3D Secure and have encountered an issue when the value of 3DSecureStatus returns a value of NOTAVAILABLE . It would seem that when the NOTAVAILABLE value is returned, an error is thrown within the call to the ConvertToSagePayMessage() method on the SagePayIntegration class within the assembly SagePay

Sagepay 5006 error code fix

◇◆丶佛笑我妖孽 提交于 2019-11-30 15:55:13
问题 Can any one please let me know why the sagepay throws the 5006 (Unable to redirect to Vendor's web site.), i can able to post transaction to sagepay and can able to give credit card information at sagepay's end. But, my problem is once it return back to my notification page it throws error 5006. and i could not reach my success or fail URLs at my end. 回答1: Please see the below recommendations regarding your issue with your transactions failing error 5006: Unable to redirect to Vendor's web

Sagepay 5006 error code fix

ぃ、小莉子 提交于 2019-11-30 15:26:50
Can any one please let me know why the sagepay throws the 5006 (Unable to redirect to Vendor's web site.), i can able to post transaction to sagepay and can able to give credit card information at sagepay's end. But, my problem is once it return back to my notification page it throws error 5006. and i could not reach my success or fail URLs at my end. Please see the below recommendations regarding your issue with your transactions failing error 5006: Unable to redirect to Vendor's web site. The Vendor failed to provide a RedirectionURL. The error message itself is not always entirely accurate,

c# AES Decryption

核能气质少年 提交于 2019-11-30 07:36:34
I am working with SagePay Forms and currently converting the VB examples they have to c#. I have made good progress so the encryption part of my project works fine (SagePay can decrypt it). The issue I am having is that when I attempt to decrypt the string, it turns to garbage. If anyone has done this before I would really appreciate some help with my decryption code. I have included the encryption code which works and the first two lines are the setup and call from another method. I haven't added the VB code but if this is required I could add it. Didn't want a huge post if not required.