[InvoiceOcean — Support](https://help.invoiceocean.com/index.md) / [AutoPayments](https://help.invoiceocean.com/autopayments.md)

# [Auto payments and Pay Online button with Braintree integration](https://help.invoiceocean.com/1396917-auto-payments-and-pay-online-button-with-braintree-integration.md)

<p data-end="540" data-start="39" style="text-align: justify;"><strong data-end="52" data-start="39">Braintree</strong> is a universal solution that enables easy acceptance of online payments on websites and in applications. It offers all the necessary tools for handling electronic transactions. By using Braintree, you gain access to a full suite of payment processing services, including a payment gateway and a merchant account. In this post, you'll learn how to integrate the Braintree gateway with InvoiceOcean using the <strong data-end="475" data-start="459">Auto payments</strong> feature, which is available starting from the <strong>Professional </strong>plan.<br>
 </p>

<h3 data-end="598" data-start="542" style="text-align: justify;"><strong data-end="598" data-start="542">How to enable Braintree integration with InvoiceOcean</strong></h3>

<p data-end="649" data-start="600" style="text-align: justify;">To enable Braintree integration with InvoiceOcean:</p>

<div style="text-align: justify; margin-left: 40px;">1. Go to <strong data-end="705" data-start="659">Settings &gt; Account Settings &gt; Your Account</strong>, and in the <strong data-end="737" data-start="718">Online Payments</strong> section, select the <strong data-end="774" data-start="758">Auto payments</strong> option – confirm changes by clicking <strong data-end="820" data-start="812">Save</strong>.</div>

<div style="text-align: justify; margin-left: 40px;">2. Then go to <strong data-end="865" data-start="835">Settings &gt; Online Payments</strong> and check the box next to the <strong data-end="909" data-start="896">Braintree</strong> option.</div>
<span style="color: rgb(82, 82, 82); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 17.8888893127441px;"><img alt="" src="https://s3.eu-west-1.amazonaws.com/attachments.intum.net/1/0feba3ab8c7397faa651ea3530fd54ba478c2cba"></span>

<p data-end="171" data-start="39" style="text-align: justify; margin-left: 40px;">3. In the designated fields, enter information such as the <strong data-end="109" data-start="95">Public Key</strong>, <strong data-end="126" data-start="111">Private Key</strong>, and <strong data-end="147" data-start="132">Merchant ID</strong>, then save the changes.<br>
 </p>

<h3 data-end="224" data-start="173" style="text-align: justify;"><strong data-end="224" data-start="173">Integration data from the Braintree admin panel</strong></h3>

<p data-end="266" data-start="228" style="margin-left: 40px; text-align: justify;">1. Log in to the Braintree admin panel.<br>
2. Go to the <strong data-end="300" data-start="279">Account &gt; My User</strong> tab.<br>
3. Click on <strong data-end="342" data-start="319">View Authorizations</strong> to access the authorization data.</p>

<p data-end="266" data-start="228"><img alt="" src="https://s3.eu-west-1.amazonaws.com/attachments.intum.net/1/1e15b9e821a8ed0b324de9180e5feda6c612f5ba"></p>

<p data-end="266" data-start="228" style="margin-left: 40px;">4. Copy the API key from Braintree and paste it into the designated field in InvoiceOcean.</p>

<p data-end="266" data-start="228"><img alt="" src="https://s3.eu-west-1.amazonaws.com/attachments.intum.net/1/b9b8f0ed95e228b6a05e877e15c1a87862886397"></p>

<div style='box-sizing: border-box; margin: 0px 0px 10px; color: rgb(82, 82, 82); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 25.2px; text-align: justify;'><span style="color: rgb(82, 82, 82); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 25.1999988555908px;">There are 3 possible starting points for Auto payments:</span></div>

<ul>
	<li style="box-sizing: border-box; text-align: justify;">On your invoice, when the customer receives an invoice and clicks the button "Pay online". After the payment is received, the invoice changes its status to "paid". (<a href="https://help.invoiceocean.com/476262--Pay-online-button" style="box-sizing: border-box; color: rgb(69, 156, 231); text-decoration: none; background: transparent;">more</a>)</li>
	<li style="box-sizing: border-box; text-align: justify;">On your <u><a href="https://invoiceocean.com/how-to-create-proforma-invoice-templates-and-tips-on-issuing-this-document">Proforma invoice</a>,</u> when the customer receives an invoice and clicks the button "Pay online". After the payment is received, the system generates an invoice which is automatically sent to that customer. (<a href="https://help.invoiceocean.com/476262--Pay-online-button" style="box-sizing: border-box; color: rgb(69, 156, 231); text-decoration: none; background: transparent;">more</a>)</li>
	<li style="box-sizing: border-box; text-align: justify;">On your website, when you are selling a product or service. After the payment is received, the customer automatically receives an invoice (<a href="https://help.invoiceocean.com/99276259-Autopayment-widget-transfer-of-custom-parameters-order-number-or-personal-data-" style="box-sizing: border-box; color: rgb(69, 156, 231); text-decoration: none; background: transparent;">more</a>)</li>
</ul>

<p style="text-align: justify;"><span style="color: rgb(82, 82, 82); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 25.1999988555908px;">After making payments, it is possible to </span><a href="https://help.invoiceocean.com/476255-Own-payment-system-integration" style="box-sizing: border-box; color: rgb(69, 156, 231); text-decoration: none; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 25.1999988555908px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">call the API</a><span style="color: rgb(82, 82, 82); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 25.1999988555908px;">.</span></p>
