Preapproval plan deletion #400
-
|
I'm using the Nodejs SDK, specifically preapproval and preapproval_plan. I cannot find a way to delete old deprecated preapproval plans. This turned into a problem when I discovered that users can re-subscribe to old plans from the MercadoPago app, from the subscription section. This issue generates an inconsistency when users subscribe from their apps because I no longer support those plans... that ends in my webhook rejecting those events but mercadopago deduct the money from their accounts. does anyway know how to delete old plans? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Update: They also tell me that the solution is: invalidate the plan... which seems not allowed/documented by ts interfaces. Anyway, the method is supported by the nodesdk. So, below is the solution proposed by the Mercado Pago team |
Beta Was this translation helpful? Give feedback.
Update:
After talking with support, they tell me that plans cannot be removed due some constrains...
They also tell me that the solution is: invalidate the plan... which seems not allowed/documented by ts interfaces.
Anyway, the method is supported by the nodesdk.
So, below is the solution proposed by the Mercado Pago team