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 http://eureka.ucommerce.net/ for support.

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

    Different DIBS configuration for multiple sites

    Hello,

    I have an umbraco installation (4.7.1.1) 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,

    Fabrice

     

     

     

     

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

    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:

Draft