Skip to content

Error en documentación  #22

@ArturoBarrios616

Description

@ArturoBarrios616

Al usar la instrucción

subscription = customer.subscriptions.all()[0]
subscription.delete()

arroja un error KeyError 0
Lo cambié a

subscriptions = customer.subscriptions.all()
     subscription = subscriptions['data'][0]
     subscription.delete()

Y funcionó

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions