{"id":463,"date":"2025-03-20T17:26:58","date_gmt":"2025-03-20T17:26:58","guid":{"rendered":"http:\/\/documentation.wpgetpaid.com\/?post_type=gd_place&#038;p=463"},"modified":"2025-03-26T15:17:16","modified_gmt":"2025-03-26T15:17:16","slug":"how-to-add-discounts-to-payment-forms","status":"publish","type":"gd_place","link":"https:\/\/wpgetpaid.com\/documentation\/article\/discounts\/how-to-add-discounts-to-payment-forms\/","title":{"rendered":"How to Add Discounts to Payment Forms?"},"content":{"rendered":"\n<p>You can enable the option to use discounts from within payment forms for all users. For instance, if you have a 50% discount code enabled, your users can input it in the required field of the form to avail said discount.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">This guide assumes you can <a href=\"https:\/\/wpgetpaid.com\/documentation\/article\/first-steps\/how-to-add-a-payment-form\/\">add a new payment form<\/a> to GetPaid.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Discount Inputs to Payment Forms<\/h2>\n\n\n\n<dl>\n<dt>1<\/dt>\n<dd>First, head to the&nbsp; <strong>GetPaid &gt; Payment Forms<\/strong>&nbsp;section, and then click <strong>Add New.&nbsp;<\/strong><\/dd>\n<\/dl>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgetpaid.com\/documentation\/wp-content\/uploads\/2025\/03\/file-tGQcChQL4O-2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<dl>\n<dt>2<\/dt>\n<dd>The&nbsp; <strong>Add New Payment Form<\/strong>&nbsp;page features a drag and drop builder. Locate the <strong>Discount Input <\/strong>field, and add it to your payment form. Save your form.&nbsp;<\/dd>\n<\/dl>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgetpaid.com\/documentation\/wp-content\/uploads\/2025\/03\/file-XgO56VxfBT.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">Make sure you add the <strong>Discount Input <\/strong>field to the <strong>Default Payment Form.\u00a0\u00a0<\/strong><\/span><\/div>\n\n\n\n<p>All done! Now, when your users use this form to checkout, they can type in the discount coupon codes in the relevant field and GetPaid will take care of the rest.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can enable the option to use discounts from within payment forms for all users. For instance, if you have a 50% discount code enabled, your users can input it in the required field of the form to avail said discount.&nbsp; Adding Discount Inputs to Payment Forms 1 First, head to the&nbsp; GetPaid &gt; Payment [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[295,296,297,298],"article\/categories":[220,211],"class_list":["post-463","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-discounts","gd_place_tags-discount-coupons","gd_place_tags-discount-codes","gd_place_tags-add-discounts-to-form","gd_placecategory-discounts","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/comments?post=463"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/463\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/media?parent=463"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=463"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}