![]() ![]() "ALIASOPERATION=" + strALIASOPERATION + strPW + "TBLTXTCOLOR=" + strTBLTXTCOLOR + strPW + "OWNERADDRESS=" + strAddressline1n2 + strPW + "BUTTONTXTCOLOR=" + strBUTTONTXTCOLOR + strPW + "BUTTONBGCOLOR=" + strBUTTONBGCOLOR + strPW + = create string to hash (digest) using values of options/details above. String strALIASOPERATION = "BYMERCHANT" // ALIAS Operation String strALIASUSAGE = "usage" // ALIAS USAGE String strPMLISTTYPE = "1" // Payment Method List type String strTITLE = "Testing - Secure Payment Page" // Title String strBUTTONBGCOLOR = "#cccccc" // Button Colour String strTBLBGCOLOR = "#ffffff" // Table BG Colour String strBGCOLOR = "#d1ecf3" // Page Background Colour String strBUTTONTXTCOLOR = "#005588" // Button Text Colour String strFONTTYPE = "Helvetica, Arial" // fonttype String strTBLTXTCOLOR = "#005588" // Table Text Colour String strTXTCOLOR = "#005588" // Page Text Colour String strPSPID = "epdqxxxxxxx" // update with the details of the PSPID you were supplied with String strPW = "xxxxxx!?" // Update with the details you entered into back office String strOrderID = "ORD1234556Y" // Order Id - **needs to be unique** String strOrderDataRaw = "HDTV - AVTV3000" // Order description String strPaymentAmount = "100" // This is 1 pound (100p) String strCustomerName = strUserTitle + " " + strUserFirstname + " " + strUserSurname // Concatenated Customer Name eg Mr Edward Shopper String strAddressline1n2 = strBillHouseNumber + " " + strAd1 + ", " + strAd2 // Concatenated Address eg 123 Penny Lane Central Areas String strCurrenc圜ode = "GBP" // Currecnc圜ode String strShopperLocale = "en_GB" // shopper locale String strShopperEmail = // shopper Email String strContactTel = "01604 567 890" // Contact Telephone number String strBillCountry = "England" // Bill Country String strBillTown = "Middlehampton" // Bill Town String strBillHouseNumber = "123" // Address Details String strUserTitle = "Mr" // Customer details - Set Values (these would be pulled from DB or a previous page). Protected void Page_Load(object sender, EventArgs e) Public partial class _DefaultAliasTest : .Page I would be glad if someone could help me. I can also create Alias manually through the epdq account, but just cant get to the orderstandard.asp page without error (when alias hidden fields and code used). I could log into the epdq barclaycard account and see the error which is "unknown order/1/s/". The same code works for payment if I remove the code for Alias. Below is the code used for creating the Alias which does not work and throw an error
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |