add custom form with Discord username to checkout form for subscription

LUVQVIST
New Community Member

How can I add a custom field to the checkout form for my subscription?

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator
Good day @LUVQVIST,

 

Thank you for posting to the PayPal community.

 

Merchant can able pass the custom value using the parameter as "custom" :

<input type="hidden" name="custom" value="SubscriptionName">

Guide link - https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-ht...

You can "Dynamically" pass different "custom" values.

https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/sample-code-landing/

If you have implemented latest Smart Subscriptions via REST API integration.

Please contact your website developer to pass the custom value as "custom_id" or "invoice_id" while performing the "Create Subscription API" call - https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_create to PayPal system.

https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions-create-request-body

 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

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