+1-888-365-2779
Try Now
More in this section

Forums / Ecommerce / Test Payment Processor Provider

Test Payment Processor Provider

3 posts, 1 answered
  1. Casey
    Casey avatar
    25 posts
    Registered:
    22 Oct 2010
    30 Dec 2011
    Link to this post
    I'm trying to create a test payment processor provider. I've added my TestPaymentProcessorProvider as best as I could based on this blog (which the download link is broken).
    But I am getting this javascript error now when I click Create a Payment Method.

    Here is the error:
    Microsoft JScript runtime error: 'Zieglers' is undefined

    btw Zieglers is the beginning of my namespace.

    Can you help identify what's causing this error? Or is there any documentation on all the steps to create your own payment processor provider?

    The javascript excerpt causing the error below: 
    Sys.Application.add_init(function() {
        $create(Zieglers.Providers.TestPaymentProcessorProvider.SettingsField, {"controlErrorCssClass":null,"dataFieldName":"PaymentProcessorSettings","dataFormatString":null,"description":"","displayMode":1,"example":"","fieldName":"PaymentProcessorSettings","title":"","validatorDefinition":"{\"AlphaNumericViolationMessage\":\"Non alphanumeric characters are not allowed.\",\"ComparingValidatorDefinitions\":[],\"CurrencyViolationMessage\":\"You have entered an invalid currency.\",\"EmailAddressViolationMessage\":\"You have entered an invalid email address.\",\"ExpectedFormat\":0,\"IntegerViolationMessage\":\"You have entered an invalid integer.\",\"InternetUrlViolationMessage\":\"You have entered an invalid URL.\",\"MaxLength\":-1,\"MaxLengthViolationMessage\":\"Too long\",\"MaxValue\":null,\"MaxValueViolationMessage\":\"Too big\",\"MessageCssClass\":null,\"MessageTagName\":\"div\",\"MinLength\":-1,\"MinLengthViolationMessage\":\"Too short.\",\"MinValue\":null,\"MinValueViolationMessage\":\"Too small.\",\"NonAlphaNumericViolationMessage\":\"Alphanumeric characters are not allowed.\",\"NumericViolationMessage\":\"You have entered an invalid number.\",\"PercentageViolationMessage\":\"You have entered an invalid percentage.\",\"RegularExpression\":\"\",\"RegularExpressionSeparator\":\"\",\"RegularExpressionViolationMessage\":\"Invalid format\",\"Required\":false,\"RequiredViolationMessage\":\"Required field.\",\"ResourceClassId\":\"\",\"USSocialSecurityNumberViolationMessage\":\"You have entered an invalid US social security number.\",\"USZipCodeViolationMessage\":\"You have entered an invalid US ZIP code.\",\"ValidateIfInvisible\":true}","value":null}, null, null, $get("contentViewInsertDialog_ctl00_ctl00_contentView_paymentMethodsBackendInsert_ctl00_ctl00_sections_section52B5EFF7D2544F2594D6757683635AD1_6_ctl00_6_ctl00_6_fields_6_paymentProcessorSettingsFieldElement_0"));
    });
  2. Venkata Koppaka
    Venkata Koppaka avatar
    67 posts
    Registered:
    24 Sep 2012
    30 Dec 2011
    Link to this post
    Hi Casey,

    I have attached the sample code to this reply. Please use the sample code and let us know if your problem still persists.

    Kind regards,
    Venkata Koppaka
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Casey
    Casey avatar
    25 posts
    Registered:
    22 Oct 2010
    01 Jan 2012
    Link to this post
    Thanks venkata. Your attachment is workin.
3 posts, 1 answered