How to give discount/Promo in existing plan and this will be for only first transaction?

Kanhaiya2
New Community Member
"plan_id": "PLAN ID",
"quantity": 1,
"custom_id": custom_id,
"subscriber": {
"name": {
"given_name": "NAME",
},
"email_address": "EMAIL",
"address": {"address": "ADDRESS"},
},
"application_context": {
"brand_name": "BRAND NAME",
"locale": "en-US",
"shipping_preference": "NO_SHIPPING",
"user_action": "SUBSCRIBE_NOW",
"payment_method": {
"payer_selected": "PAYPAL",
"payee_preferred": "IMMEDIATE_PAYMENT_REQUIRED",
},
"return_url": settings.PAYPAL_RETURN_URL,
"cancel_url": settings.PAYPAL_CANCEL_URL,
},
}


What parameters should be set to apply a discount coupon to an existing plan without affecting the original price? The discount should only be applicable for the first transaction, with all subsequent renewals maintaining the original plan price.
Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.