How to give discount/Promo in existing plan and this will be for only first transaction?
Kanhaiya2
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-26-2023
11:29 PM
"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.
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.
Labels:
- Labels:
-
Subscriptions
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.
Related Content
- [WooCommerce PayPal Payments] - Required phone country code, different than the cards country code. in PayPal Payments Standard
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- Paypal create transaction with QR - API in REST APIs
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- Transactions according to unique APIs in SDKs