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)
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
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.
is working on a reply...