xendit / xendit-php

Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services, xenPlatforms
https://developers.xendit.co/api-reference/
MIT License
152 stars 76 forks source link

Provide an API Endpoint to get all user subscription #214

Closed dongumayagay closed 10 months ago

dongumayagay commented 10 months ago

on creating a subscription plan. the customer_id is required means it is somehow connected to the subscription plan and the customer.

it will be helpful for us xendit user for register a plan to a customer(creating plan) and then just fetch the customers' plan.

as the thing now we have to keep track of all those connection on our end. it's redundant as per xendit already have it and it's simpler to have only once source of truth. to keep the data integrity

adityarx commented 10 months ago

Hii @dongumayagay is this an additional feature request on top of your previous request of adding subscriptions to the SDK?

dongumayagay commented 10 months ago

It's not. we decided to implement the subscription without the sdk. as per opening this issue here. IDK where is the better place to submit MB.

but yeah i believe it's easier for merchants to manage subscriptions of the user is there is provided api that we are just going to provide the customer id or customer reference if and will get the customers subscription. its better ergonomics.

as per my previous request i still want to for the SDKs to support the new features as its hard to go back and for from documentation and editor to check available paramaters and return value. its helpful to have sdk for helping with intellisense and in code editor documentation of methods, parameter and return value.

adityarx commented 10 months ago

Ah ok, so this is a separate feature request for an API on Subscriptions (not necessarily SDK) that allows listing subscriptions by customer_id. Could you reach out to us through your Account Manager? That will help us link you with the correct team that can respond.

Issues here are mostly for bugs and feature requests on the SDKs 🙏