Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

These support forums are now closed for new topics and comments.
Please head on over to for support.

  • fabrice 104 posts 227 karma points
    Jan 17, 2013 @ 09:33

    Different DIBS configuration for multiple sites


    I have an umbraco installation ( with uCommerce 2.6.1.

    There are 2 webshop sites in it selling the same products in uCommerce.

    We are using DIBS as payment method.How can I specify the domain name for the accept and cancel URL ?

    The Dibs.config has an "acceptUrl" field but I cannot put any placeholder in it.

    So far I have created a new class XXXDibsPaymentMethodServiceConfigurationSection that inherit from ExternalPaymentConfigurationSection and I wanted to update the property "public string AcceptUrl".

    I have updated in the web.config the "<section name="dibsPaymentMethodService" type="..." to use my new class.

    So far, it crashes during a payment.initialize.

    Could you please tell me if that's the best way to go ?

    Should I also have some others custom class for example : UCommerce.Transactions.Payments.Dibs.DibsPaymentMethodService ? (I don't think so, I just want to change the accpet URL with the correct domain name according the site)

    Many thanks,






  • Søren Spelling Lund 1796 posts 2764 karma points
    Jan 21, 2013 @ 21:58
    Søren Spelling Lund

    One way is to upgrade to uCommerce 3. It does relative URLs for accept/decline for all payment providers so you wouldn't have to do anything else.

    If you don't want to update to latest version you have to override the payment provider.

Please Sign in or register to post replies

Write your reply to: