#karuppasamy

1 messages · Page 1 of 1 (latest)

tiny raptorBOT
tardy lava
chrome fog
#

// Assuming you have a PriceService or similar service to retrieve price details
var priceService = new PriceService();
var priceDetails = priceService.Get(subscriptionDetails.PriceID);

                if (priceDetails != null)
                {
                    var planName = priceDetails.Product.Name; // Assuming the plan name is stored in the Product associated with the price
                    subscriptionDetails.ProductName = planName;                              // Now you have the plan name in the 'planName' variable
#

i amusing this code but not working

tardy lava
#

You should just use ProductService instead.

service.Get("prod_ID");```
chrome fog
#

how to get prod_ID ?