DIBS problem "No paytype(s)! Missing test parameter?"
Hi there!
I've been working with uCommerce developing a webshop. I've set it up to integrate with DIBS payment services, and I got it to work properly with uCommerce 4.7.2. Now, I upgraded to 4.8.0 and I get the message "No paytype(s)! Missing test parameter?" when I try to continue to the DIBS transaction page.
I'm not sure whether the error derives from the upgrade or not.
Here's my piece of code for the payment solicitation:
if (ProductPolicy.Checked == true) {
var po = b.PurchaseOrder;
var plpo = PipelineFactory.Create<PurchaseOrder>("Basket");
var pm = PaymentMethod.SingleOrDefault(x => x.Name == "DIBS");
Library.CreatePayment(pm.Id);
plpo.Execute(po);
po.Save();
Library.RequestPayments();
}
I've not been able to dig up any resolving solution on the internet. Any help would be appreciated.
DIBS problem "No paytype(s)! Missing test parameter?"
Hi there!
I've been working with uCommerce developing a webshop. I've set it up to integrate with DIBS payment services, and I got it to work properly with uCommerce 4.7.2. Now, I upgraded to 4.8.0 and I get the message "No paytype(s)! Missing test parameter?" when I try to continue to the DIBS transaction page.
I'm not sure whether the error derives from the upgrade or not.
Here's my piece of code for the payment solicitation:
if (ProductPolicy.Checked == true)
{
var po = b.PurchaseOrder;
var plpo = PipelineFactory.Create<PurchaseOrder>("Basket");
var pm = PaymentMethod.SingleOrDefault(x => x.Name == "DIBS");
Library.CreatePayment(pm.Id);
plpo.Execute(po);
po.Save();
Library.RequestPayments();
}
I've not been able to dig up any resolving solution on the internet. Any help would be appreciated.
Thanks in advance.
Brinck10
Which version of uCommerce are you running? Version 4.7.2 and 4.8 are Umbraco versions.
I believe it is 2.6.1 – I tried to fix it, however, couldn't edit my post.
Yes, it is version 2.6.1.
It seems this issue will arise if the merchant account being used is a live account, but uCommerce is configured to test mode in the Dibs.config.
is working on a reply...