Drupal Commerce - debug custom workflow rule

Completed Posted Sep 17, 2015 Paid on delivery
Completed Paid on delivery

We have written a custom Commerce workflow rule using some PHP code to add a surcharge amount to the shipping value. This code does not execute correctly when a discount coupon is added to the order.

I have attached the code for review. The code is commented where the error is occurring.

Drupal PHP

Project ID: #8497375

About the project

1 proposal Remote project Active Sep 17, 2015

Awarded to:

debaryadas

A proposal has not yet been provided

$30 USD in 2 days
(13 Reviews)
4.6