New answers tagged

0 votes

Customer profiles cannot hold more than 1 values, even when allowing multiple profiles per user

Since this profiles are tied with drupal commerce, we don't have to show this on the user profile edit page. That is actually what is going on. User can have multiple profiles at the checkout stage, ...
user avatar
0 votes

Mocking the response of XmlResponse::getResultCode not working

So this is how I resolved this a while ago: Create a new fixture, let's say tests/fixtures/payment-response.xml that'll contain the following response: <?xml version="1.0" encoding="...
user avatar
0 votes

Fee amount is incorrect

I'd guess that 5.50 is cents, and is rounded up to $0.06. You probably need to multiple your value by 100: "amount" : "550",
user avatar
  • 14.7k
0 votes

Allow users to add extra products/services in the cart

If the supplemental products have no relationship to the main products, you can create a block that shows the supplemental products and then set that block to be shown on the cart page.
user avatar

Top 50 recent answers are included