{"id":1702,"date":"2017-07-19T20:58:20","date_gmt":"2017-07-20T03:58:20","guid":{"rendered":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?p=1702"},"modified":"2017-07-19T22:01:08","modified_gmt":"2017-07-20T05:01:08","slug":"creating-braintree-buy-now-button-membership-payment","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702","title":{"rendered":"Creating a Braintree Buy Now Button for Membership Payment"},"content":{"rendered":"<p>You can create a\u00a0Braintree payment button\u00a0inside <a href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-emember-easy-to-use-wordpress-membership-plugin-1706\">WP eMember\u00a0plugin<\/a> to accept payment for your premium memberships.<\/p>\n<p><a href=\"https:\/\/www.braintreepayments.com\/\">Braintree gateway<\/a> allows you to create payment buttons that is processed on your site (so the visitor never leaves your site during the checkout).<\/p>\n<h2>Creating Braintree Buy Now Button for Membership Payment<\/h2>\n<h3>Step 1) Select Braintree Buy Now Button<\/h3>\n<p>Go to\u00a0<strong>Payments -&gt; Create New Button<\/strong>\u00a0interface from the admin side of the eMember plugin. Then select the\u00a0<strong>Braintree Buy Now<\/strong>\u00a0option (see image below):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1704\" src=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png\" alt=\"braintree-payment-button-for-membership-step-1\" width=\"300\" height=\"212\" \/><\/p>\n<h3>Step 2) Configure the Payment Details<\/h3>\n<p>Enter the payment details and select your membership level for the button.<\/p>\n<h3>Step 3) Configure the Braintree API Key and Account Details<\/h3>\n<p>Enter your Braintree API Key details in the payment button also.<\/p>\n<p>You can get the Braintree API key details from your Braintree account.<\/p>\n<p class=\"markdown-p\">You can locate these values by following these steps:<\/p>\n<ol class=\"list list--num\">\n<li>Log into your Braintree account<\/li>\n<li>Navigate to\u00a0<strong>Account<\/strong>\u00a0&gt;\u00a0<strong>My user<\/strong><\/li>\n<li>Under\u00a0<strong>API Keys, Tokenization Keys, Encryption Keys<\/strong>, click\u00a0<strong>View Authorizations<\/strong>\n<ul class=\"list list--disc\">\n<li>If no API keys appear, click\u00a0<strong>Generate New API Key<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>Click\u00a0<strong>View<\/strong>\u00a0under the\u00a0<strong>Private Key<\/strong>\u00a0column to see your public and private keys, merchant ID, and environment<\/li>\n<\/ol>\n<p class=\"markdown-p\">If you do not see the Authorizations section at all and your account was recently approved, please try again later \u2013 it can take a few business days for Braintree to set up your merchant account.<\/p>\n<p class=\"markdown-p\"><strong>Merchant Account ID<\/strong><\/p>\n<p class=\"markdown-p\">This field controls your currenty for the transaction. You can leave the Merchant Account ID field empty if you want to use the default one.<\/p>\n<h3>Step 4) Save the Payment Button<\/h3>\n<p>Save the payment button after you have entered all the necessary details. This will create the payment button.<\/p>\n<h3>Step 5) Put the Payment Button on a Page<\/h3>\n<p>You can now put this newly created button on your membership join us page so the visitors can pay you using this button.<\/p>\n<p>The <strong>Payment Buttons<\/strong>\u00a0tab shows you the shortcode you need to use to put your Braintree payment button on a page. The shortcode should look something like the following:<\/p>\n<p>[emember_payment_button id=2101]<\/p>\n<p>The shortcode will create a Buy Now button (for the membership level you specified).<\/p>\n<p>When your visitors click on the button, they will see a payment form like the following screenshot. They will be able to enter the credit card details to complete the payment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1705\" src=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-card-payment-form.png\" alt=\"braintree-payment-button-for-membership-card-payment-form\" width=\"300\" height=\"433\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-card-payment-form.png 300w, https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-card-payment-form-208x300.png 208w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2>Customizing the Button Text<\/h2>\n<p>You can customize the button text by specifying the value in the shortcode using the \u201cbutton_text\u201d parameter. Below is an example shortcode that uses \u201cPay Now\u201d as the payment button text:<\/p>\n<pre>[emember_payment_button id=2101 button_text=\"Pay for Membership\"]<\/pre>\n<h2>What Happens After the Payment?<\/h2>\n<p>If a payment is made by a new member then the user will receive an email that contains a <strong>unique link<\/strong> to complete the registration. Read the\u00a0<a href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/a-typical-member-registration-flow-96\">registration process overview<\/a>\u00a0documentation to learn more.<\/p>\n<p>If the payment is made by an existing member then the membership level (associated with this payment button) is applied to the existing member&#8217;s profile.<\/p>\n<p><strong>Note:<\/strong>\u00a0The member must be logged into the site as a member for this plugin to recognize the user and treat him as an existing member.<\/p>\n<h2>SSL Certificate Requirement<\/h2>\n<p>Braintree payment gateway requires you to have SSL certification on your payment\/checkout page (the page where you put your payment button). So the URL of that page should have HTTPS (example: https:\/\/www.example.com\/membership-payment-page).<\/p>\n<p>If you are not already using an SSL certificate on your site then you should contact your hosting provider and request them to install it for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can create a\u00a0Braintree payment button\u00a0inside WP eMember\u00a0plugin to accept payment for your premium memberships. Braintree gateway allows you to create payment buttons that is processed on your site (so the visitor never leaves your site during the checkout). Creating Braintree Buy Now Button for Membership Payment Step 1) Select Braintree Buy Now Button Go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[13],"tags":[90,24],"class_list":{"0":"post-1702","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-integration","7":"tag-integration","8":"tag-membership-payment","9":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a Braintree Buy Now Button for Membership Payment - WordPress Membership<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\"},\"headline\":\"Creating a Braintree Buy Now Button for Membership Payment\",\"datePublished\":\"2017-07-20T03:58:20+00:00\",\"dateModified\":\"2017-07-20T05:01:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\"},\"wordCount\":587,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png\",\"keywords\":[\"Integration\",\"membership payment\"],\"articleSection\":[\"Integration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\",\"name\":\"Creating a Braintree Buy Now Button for Membership Payment - WordPress Membership\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png\",\"datePublished\":\"2017-07-20T03:58:20+00:00\",\"dateModified\":\"2017-07-20T05:01:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png\",\"contentUrl\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png\",\"width\":300,\"height\":212,\"caption\":\"braintree-payment-button-for-membership-step-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Braintree Buy Now Button for Membership Payment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/\",\"name\":\"WordPress Membership\",\"description\":\"Easy to use WordPress Membership plugin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Braintree Buy Now Button for Membership Payment - WordPress Membership","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#article","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702"},"author":{"name":"admin","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd"},"headline":"Creating a Braintree Buy Now Button for Membership Payment","datePublished":"2017-07-20T03:58:20+00:00","dateModified":"2017-07-20T05:01:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702"},"wordCount":587,"commentCount":0,"image":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage"},"thumbnailUrl":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png","keywords":["Integration","membership payment"],"articleSection":["Integration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702","name":"Creating a Braintree Buy Now Button for Membership Payment - WordPress Membership","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage"},"image":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage"},"thumbnailUrl":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png","datePublished":"2017-07-20T03:58:20+00:00","dateModified":"2017-07-20T05:01:08+00:00","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd"},"breadcrumb":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#primaryimage","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png","contentUrl":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-content\/uploads\/2017\/07\/braintree-payment-button-for-membership-step-1.png","width":300,"height":212,"caption":"braintree-payment-button-for-membership-step-1"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/creating-braintree-buy-now-button-membership-payment-1702#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/"},{"@type":"ListItem","position":2,"name":"Creating a Braintree Buy Now Button for Membership Payment"}]},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/","name":"WordPress Membership","description":"Easy to use WordPress Membership plugin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/#\/schema\/person\/d68b2ffa792aeb141f10f910dacccfdd","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=identicon&r=g","caption":"admin"},"url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/comments?post=1702"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/posts\/1702\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/media?parent=1702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/categories?post=1702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-membership\/wp-json\/wp\/v2\/tags?post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}