Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Payment gateway URL field length View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 11/21/2011 3:28:55 PM
   
Payment gateway URL field length
Hi Guys,

It looks like the field called "Payment gateway URL" inside each payment method is restricted to certain characters.

How can I change its properties so that it can have more characters in it.

I am trying to send a big url to the payment gateway.

Cheers
Gitesh Shah

User avatar
Member
Member
nicolas.juteau-nexun - 11/21/2011 4:04:41 PM
   
RE:Payment gateway URL field length
Hello Gitesh,

First, in the SQL table CMS_Class, update the column ShowAsSystemTable to True for the row WHERE ClassName = 'ecommerce.paymentoption'

Then, in Site Manager -> Development -> System tables, Edit the system table 'Ecommerce - Payment option'. Select the field 'PaymentOptionPaymentGateUrl' and update the field Attribute size according to your needs. Finally, click 'Save field'.

Second, you will have to modify the CMSModules\Ecommerce\Pages\Tools\Configuration\PaymentOptions\PaymentOption_Edit.aspx file. At line 69, on the cms:CMSTextBox with ID txtGateUrl, update the MaxLength value to the attribe size you defined in the first step.

Voila ! :)

User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 11/21/2011 9:25:13 PM
   
RE:Payment gateway URL field length
Thanks Nicolas,

It works...

Thanks
Gitesh shah

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/22/2011 1:01:32 AM
   
RE:Payment gateway URL field length
Hi,

I have just one note - please be aware of these changes when upgrading/hotfixing since these can revert your changes back to defaults.

Best regards,
Juraj Ondrus