Skip to content

delete_all method doesn't work #2

@nikiatanasow

Description

@nikiatanasow

Description

When calling delete_all method for specific resource with correct id the request is successful, but the resource is not deleted.

Steps to Reproduce

  • Create payment method.
  • Get the payment method id.
  • Try to delete it through the SDK.

Expected Behavior

The payment method is marked as deleted.

Actual Behavior

The payment method is not marked as deleted.

Code snipped that reproduce the issue:

place.PaymentMethod.delete_all([{
    id: '3bZubZyPWpM6tRdQrH6TQ'
}])
.then(function(result) {
    // the correct payment method is returned, but it is not deleted
});

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