Skip to content

On subscription renewal processing the number of installments is hardcoded = 1 #572

@jffaria

Description

@jffaria

The Subscription class registers a function hook to process the payment of renewal orders, and in that function it calls a method that populates the fields to create the Pagar.me order via the API. This method sets the installments field to 1:

$fields['installments'] = 1;

The behavior I expected was to use the same number of installments than in the parent order or previous renewal order, or that the customer might be able to choose the number of installments in the subscription details in their "my account" page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions