Score:0

Drupal Commerce Canada Post can't get quote

pk flag

I'm using drupal commerce Canada Post on drupal 9, the problem is when I selected shipping method an select Canada Post, there's no return the shipping quote or shipping rate option, I check the log there's an only got a warning error like below

Warning: array_filter() expects parameter 1 to be array, string given in Drupal\commerce_shipping\Plugin\Commerce\CheckoutPane\ShippingInformation->hasRateSelected() line 574

Since I can't get any documentation outside there to use Canada Post on Drupal Commerce, maybe somebody in this community has experience on Canada Post.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.