#dineshkumar

1 messages · Page 1 of 1 (latest)

stray galeBOT
high fiber
#

hi
Not sure I understand 100% your ask here, can you please give an example ?

candid pike
#

var options = new SessionCreateOptions
{
PaymentMethodTypes = new List<string>
{
CardPaymentMethodType,
},
LineItems = lineItems,
Mode = "Subscription",
SubscriptionData = new SessionSubscriptionDataOptions
{
TrialPeriodDays = 7,
},
SuccessUrl =
$"{redirectURL}?status=successful-payment&session_id={{CHECKOUT_SESSION_ID}}",
CancelUrl =
$"{redirectURL}?status=cancel-payment&session_id={{CHECKOUT_SESSION_ID}}",
};

#

we need to add here subscription cancel at after 1 year

high fiber
#

Thanks for your clarification

high fiber
candid pike
#

then how we achieve this following requirement cancel subscription at after 1 year

high fiber