<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://developers.payhere.co/blog</id>
    <title>Developers Blog</title>
    <updated>2020-01-27T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://developers.payhere.co/blog"/>
    <subtitle>Developers Blog</subtitle>
    <icon>https://developers.payhere.co/img/favicon.png</icon>
    <entry>
        <title type="html"><![CDATA[Launching our React SDK]]></title>
        <id>https://developers.payhere.co/blog/2020/01/27/react-sdk</id>
        <link href="https://developers.payhere.co/blog/2020/01/27/react-sdk"/>
        <updated>2020-01-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Payhere + React]]></summary>
        <content type="html"><![CDATA[<p><img decoding="async" loading="lazy" alt="Payhere + React" src="https://developers.payhere.co/assets/images/react-header-a7fb99de516433225f2d24fdd492534d.png" width="1024" height="512" class="img_ev3q"></p>
<p>We love <a href="https://reactjs.org/" target="_blank" rel="noopener noreferrer" class="">React</a> and <a href="https://www.gatsbyjs.org/" target="_blank" rel="noopener noreferrer" class="">Gatsby</a> at Payhere! We recently made a lot of powerful updates to our embed SDK and wanted to bring those natively to React.</p>
<p>That time has now arrived, we’ve just launched our <a href="https://github.com/payherepayments/payhere-embed-sdk" target="_blank" rel="noopener noreferrer" class="">payhere-embed-sdk</a> on npm and it has React support built-in. Head over to the <a class="" href="https://developers.payhere.co/docs/react-sdk">React docs to get started</a>.</p>
<p>Integrating payhere into your own websites / web apps allows a much more seamless experience and in combination with a modern frontend stack like Gatsby you can have lightening fast payments setup in a matter of minutes.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="now-possible-with-payhere--react">Now possible with Payhere + React<a href="https://developers.payhere.co/blog/2020/01/27/react-sdk#now-possible-with-payhere--react" class="hash-link" aria-label="Direct link to Now possible with Payhere + React" title="Direct link to Now possible with Payhere + React" translate="no">​</a></h3>
<h4 class="anchor anchorTargetStickyNavbar_Vzrq" id="1-calculate-the-price-on-your-end">1. Calculate the price on your end<a href="https://developers.payhere.co/blog/2020/01/27/react-sdk#1-calculate-the-price-on-your-end" class="hash-link" aria-label="Direct link to 1. Calculate the price on your end" title="Direct link to 1. Calculate the price on your end" translate="no">​</a></h4>
<p>In combination with our donations feature you can pass in a custom amount generated on your site, this opens us up to integrations like shopping carts, especially now that we can capture additional data through custom fields.</p>
<p><a class="" href="https://developers.payhere.co/docs/react-sdk#passing-in-a-custom-price">Find out how</a></p>
<h4 class="anchor anchorTargetStickyNavbar_Vzrq" id="2-capture-additional-data">2. Capture additional data<a href="https://developers.payhere.co/blog/2020/01/27/react-sdk#2-capture-additional-data" class="hash-link" aria-label="Direct link to 2. Capture additional data" title="Direct link to 2. Capture additional data" translate="no">​</a></h4>
<p>Hidden custom fields allow passing extra data along with a payment that will make its way back to your servers in a webhook or through our API. This allows you to do things like embed a hidden user_id with the payment and match it up when the webhook comes in.</p>
<p><a class="" href="https://developers.payhere.co/docs/react-sdk#custom-fields">Find out how</a></p>
<p>We can’t wait to see what you build with Payhere and React!</p>
<p>Thanks,<br>
Team Payhere</p>]]></content>
        <author>
            <name>Pete Hawkins</name>
            <uri>https://twitter.com/peteyhawkins</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Embed SDK improvements]]></title>
        <id>https://developers.payhere.co/blog/2020/01/13/embed-sdk-improvements</id>
        <link href="https://developers.payhere.co/blog/2020/01/13/embed-sdk-improvements"/>
        <updated>2020-01-13T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[We've been working hard on a few major new features the past few weeks, some of the most notable are custom fields, donations (pay what you want) and GoCardless integration.]]></summary>
        <content type="html"><![CDATA[<p>We've been working hard on a few major new features the past few weeks, some of the most notable are custom fields, donations (pay what you want) and GoCardless integration.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="custom-fields">Custom fields<a href="https://developers.payhere.co/blog/2020/01/13/embed-sdk-improvements#custom-fields" class="hash-link" aria-label="Direct link to Custom fields" title="Direct link to Custom fields" translate="no">​</a></h3>
<p>With the launch of custom fields we have improved our Embed SDK, allow you to pass along custom field values. You can also mark custom fields as hidden from the payment form. This allows you to pass custom metadata along with a payment that your end customer doesn't have to see. It could be as simple as an order ID, so that when webhooks come in you can easily connect up a payment and order in your system.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="donations">Donations<a href="https://developers.payhere.co/blog/2020/01/13/embed-sdk-improvements#donations" class="hash-link" aria-label="Direct link to Donations" title="Direct link to Donations" translate="no">​</a></h3>
<p>One-off and recurring donations open up the usefulness of payhere, not only for charitable or pay-what-you-want products, but also allow you to figure out the customers price on your website and simply pass that into the payhere plan.</p>
<p>When creating your plan just remember to check the 'Customer sets price (donation)' box.</p>
<p>This opens the doors to custom shopping carts pluging into a payhere checkout etc.</p>
<hr>
<p>We'll be working on some open source examples of how we think you can use payhere, no doubt you will all come up with your own creative solutions, if you have any questions or ideas please <a href="mailto:hello@payhere.co" target="_blank" rel="noopener noreferrer" class="">email us</a>!</p>
<p>You can find further documentation on both of these in our <a class="" href="https://developers.payhere.co/docs/embed-sdk#advanced-javascript-embed">Advanced Embed SDK docs</a></p>
<p>Thanks,
Pete and the Payhere team</p>]]></content>
        <author>
            <name>Pete Hawkins</name>
            <uri>https://twitter.com/peteyhawkins</uri>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[Developer documentation launched]]></title>
        <id>https://developers.payhere.co/blog/2019/03/02/developer-documentation-launched</id>
        <link href="https://developers.payhere.co/blog/2019/03/02/developer-documentation-launched"/>
        <updated>2019-03-02T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Our big launch has had many of you signup and start using Payhere in really cool ways! This is something we should have done ages ago, but we're finally getting around to releasing our developer documentation. This site is to serve as an example of how Payhere can be integrated and to give you fine folks all the technical info so you can integrate any which way you like.]]></summary>
        <content type="html"><![CDATA[<p>Our big launch has had many of you signup and start using Payhere in really cool ways! This is something we should have done ages ago, but we're finally getting around to releasing our developer documentation. This site is to serve as an example of how Payhere can be integrated and to give you fine folks all the technical info so you can integrate any which way you like.</p>
<p>We'll be updating this site frequently over the next few weeks as we release our Embed SDK v2, move our API from private beta to public beta and mostly as we implement all the great feedback you give us.</p>
<p>Thanks for taking the time to check it out and as always let us know if you have any questions or feedback. Our contact form on the <a href="https://payhere.co/contact/" target="_blank" rel="noopener noreferrer" class="">main site</a> is the best way to get in touch.</p>
<p>Thanks,
Pete and the Payhere team</p>]]></content>
        <author>
            <name>Pete Hawkins</name>
            <uri>https://twitter.com/peteyhawkins</uri>
        </author>
    </entry>
</feed>