{"id":12058652,"date":"2019-10-23T16:50:58","date_gmt":"2019-10-23T16:50:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-a-tax-to-the-accept_stripe_payment-shortcode\/"},"modified":"2019-10-23T16:50:58","modified_gmt":"2019-10-23T16:50:58","slug":"adding-a-tax-to-the-accept_stripe_payment-shortcode","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-a-tax-to-the-accept_stripe_payment-shortcode\/","title":{"rendered":"Adding a Tax to the [accept_stripe_payment] shortcode"},"content":{"rendered":"<p>I would like to add a Processing Fee to my payments, however in my set-up, the user inputs the cost of product themselves (like collecting an Invoice payment), so I&#8217;m unable to just tack on the cost to the product price.<\/p>\n<p>I found this post &#8211; https:\/\/wordpress.org\/support\/topic\/adding-a-processing-fee\/ &#8211; which suggested the solution is to add the Processing Fee as a tax and relabel it as such using the Custom Messages addon.<\/p>\n<p>That solution works for me, however I&#8217;m unable to find documentation on how to add a tax field when using the [accept_stripe_payment] shortcode.<\/p>\n<p>Would anyone be able to point me in the right direction with this task? Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-12058652","topic","type-topic","status-publish","hentry","topic-tag-processing-fee","topic-tag-tax"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12058652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12058652\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12058652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}