I have a few questions regarding the way subscriptions, payment links, and discounts work together. My end goal is to be able to include discounts in the payment link for the subscription plan.
First, can you create a payment link with a subscription plan in the order? I am able to create a payment link order with a subscription_plan_id in the checkout_options and a singular line item with a base_price_money, but I’m not sure that it will work. My fear is the the subscription and the order are not actually linked properly in the request. Here’s an example of the payment link body request I’m talking about:
My next question is if this payment link order is properly linked to the order, does the discount in the order apply to the first payment, the first phase, or all phases?
Finally, if it isn’t possible to create a payment link for a subscription plan with a discount, is the only way to discount a subscription plan to create a new variation?
Thanks,
Tim