Skip to content

Issue adding multiple components to a Subscription #16

@raideus

Description

@raideus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions