I ran into an issue when trying to create a subscription with multiple components. The ChargifySubscription class doesn't properly format the XML related to the components which causes an error. The solution is to add the following code just after line 112 of ChargifySubscription.php:
$node->addAttribute('type', 'array');
Just figured I'd post this here in case anyone else has the same problem.
I ran into an issue when trying to create a subscription with multiple components. The ChargifySubscription class doesn't properly format the XML related to the components which causes an error. The solution is to add the following code just after line 112 of ChargifySubscription.php:
Just figured I'd post this here in case anyone else has the same problem.