<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joshua Boateng on Medium]]></title>
        <description><![CDATA[Stories by Joshua Boateng on Medium]]></description>
        <link>https://medium.com/@jake_parkers?source=rss-72171388f712------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*muBkVbv6GuXhN5aG.</url>
            <title>Stories by Joshua Boateng on Medium</title>
            <link>https://medium.com/@jake_parkers?source=rss-72171388f712------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 13:07:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jake_parkers/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[FAREWELL TO THE 30 MILLION GANG]]></title>
            <link>https://medium.com/@jake_parkers/farewell-to-the-30-million-gang-b4bcb61c2536?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4bcb61c2536</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[flutterwave]]></category>
            <category><![CDATA[intern]]></category>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Fri, 26 Apr 2019 19:48:56 GMT</pubDate>
            <atom:updated>2019-04-26T19:48:56.179Z</atom:updated>
            <content:encoded><![CDATA[<p>On the 17th day of September 2018, the most exciting journey of my year kick-started. One that I eagerly anticipated and certainly hoped to relish. I was about to begin my journey into the world of digital payments, a journey I had zero knowledge about. Exactly twelve days before the 17th, I was absolutely furious over the fact that I had just “burned” about NGN2000 to come for a briefing (from Ibadan) that didn’t last 5 mins (well because I was late). But in hindsight, from the vantage point where I currently stand, I am absolutely thrilled that I burned that money and made the conscious decision to become a part of this incredible family of wavers.</p><p>FUN FACT: Until I saw the ad for the Tech heroes internship, I had never seen or heard the name &#39;Flutterwave&#39;.</p><p>As far back as a fortnight ago, up until now, I’ve been reflecting on my journey thus far and it was then I realized that I was supposed to be here for just 3 months but Hey! I ended up staying for a whopping seven months. And you know what, I could go around singing that it was the effort I put in that somehow bought me the opportunity to stay this long, but woe to me and my efforts if I had received a mail from management at the end of the third month starting with the lines <strong>“we are sorry …”</strong>. And so, I cannot show enough gratitude for this opportunity that I have enjoyed so far. I would certainly cherish it for a long long time.</p><p>Over the course of seven months, I have gone from being the guy that had zero knowledge about digital payments to the guy that understands digital payments enough to be able to respond to and resolve client issues, write articles about digital payments (and one of them even made it to the official Flutterwave blog), write and contribute to several libraries that assist merchants with integrating the <a href="http://rave.flutterwave.com/">Rave</a> payment gateway. Before September 2018, did I see myself meddling in payments? (Hell, did I even care?) Fast forward seven months later, do I see myself meddling in payments? — Is this even a question? I guess whoever is reading this can help me answer that.</p><p>My experience so far wouldn’t have even been half stellar if I hadn’t the most amazing teammates and the most amazing team lead the world has ever seen. I certainly wouldn’t start writing about what makes them so amazing (I’d rather tell it to them in person), but I just thought you should know that they are doing all they can as a part of the family of wavers to get the company to the 30 million mark.</p><p>We live in our own world at the Olubunmi office and I absolutely love it (I’m sure my teammates do too) but the only thing I dislike about it is the fact that I didn’t get to interact directly with or even observe the happenings in other teams. One team I’d have loved to have experienced is the growth team. I would have certainly cherished the opportunity to have experienced firsthand what it means to hunt down customers, nurture them and keep them. But of course, thanks to the town hall meetings that are being held occasionally at Flutterwave, I’ve been able to learn a thing or two from the marketing and media teams. And I so cherish these learnings because they are very well practical — the feeling of seeing and experiencing what you read in books in real life is just amazing.</p><p>I never got to have a one on one chat with the execs (well I did have a one on one chat with Bode) but even at that, I cannot seem to quantify all that I have learned from them at a distance; it is definitely humongous. Notable mentions are learnings about leadership and management. Yes, I have read about these qualities in books but trust me, they are a whole lot more appreciated and understood when you see them being administered — Hats off to the Execs 🙌.</p><p>Even if forget everything I have learned so far ( which will definitely not happen), two things will forever remain in my head:</p><ul><li>Starting and managing a startup is not as easy and rosy as how reading about it on Techcrunch seems. It is a journey filled with struggle, highs and lows (definitely not without fun and good times), a journey only the brave can embark on.</li><li>Any establishment (just like a family)would be better off being in circles than in rows, and one surefire way of making sure of that is for every person in that establishment to consider his/her self, not just a mere member of the family but an intrinsic part of that family.</li></ul><p>Of course, I would consider myself a waver after leaving for school (I hope remaining members of the waver family consider me like that too), but the question I have asked myself severally is: Would I be glad to an actual waver after school? You can guess my answer — Hell Yeah. But, even if I do believe that I can highly influence whatever my future may turn out to be, I definitely cannot control what the future holds for me.</p><p>You know what, I just realized that I’m writing this epistle just to pass a single message. I should as well just pause and pass the message in plain terms:</p><p><strong>THANK YOU SO MUCH FOR GIVING ME THIS OPPORTUNITY. I AM WHOLEHEARTEDLY GRATEFUL.</strong></p><p>And now my watch has ended. Until we meet again, I remain Joshua Kwaku Boateng.</p><p>Cheers. 🎉 🎊</p><p>And oh … I hear some low lives are trying to tarnish the image of Flutterwave. SMH. I only have one thing for them (summons Drogon and Viserion) … <strong>DRACARYS.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4bcb61c2536" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handling Split Payments with Rave]]></title>
            <link>https://medium.com/@jake_parkers/handling-split-payments-with-rave-1bd4a1cd4d5e?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd4a1cd4d5e</guid>
            <category><![CDATA[rave]]></category>
            <category><![CDATA[cards]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[flutterwave]]></category>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 16:57:54 GMT</pubDate>
            <atom:updated>2019-04-15T16:57:54.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-eOOPro1psvpPPzpT8UobA.jpeg" /></figure><blockquote><strong>No currency is assumed in this article</strong></blockquote><p>Welcome to yet another article on Rave. From the title, we already know what we’re here for 😃.</p><p>Rave’s split payment feature allows you to split a transaction between two (2) or more accounts and collect your appropriate fees on the transaction. A typical scenario is when you are building a ride-hailing app and you intend to pay your drivers immediately a ride ends while you still collect your 10% or 15% share.</p><p>This article will show how to make use of Rave’s APIs to handle split payments in your applications.</p><p><strong>NOTE: When using this feature you as the app owner is responsible for vetting the merchant’s signed up under your marketplace, this means that disputes and chargebacks would be logged against the marketplace owner.</strong></p><p>In order to split payment between you and another person or other people, you would need to add them as subaccounts under your own rave account. If you are using our payment modal, see <a href="https://support.flutterwave.com/article/150-split-payments">this article</a> on how to create subaccounts. However, if you are calling our APIs, visit <a href="https://developer.flutterwave.com/v2.0/reference#create-subaccount">this link </a>to read on how to create subaccounts.</p><p>Having created all the necessary subaccounts, you can now begin splitting payments between yourself and the subaccounts. <strong>BUT HOW?</strong> Well, several scenarios are shown below with code snippets.</p><h4>SCENARIO 1 — You and a single subaccount (using the default setting on your dashboard — Percentage)</h4><p>Let’s assume you have an online store where other merchants come to sell, and for every single sale per merchant, you have a commission of whatever amount you set on the dashboard while creating the subaccount. Let’s also assume that only one item can be bought at a time from your online store. From the figure below, whenever Jake stores makes any sale via your online store, 10% of the amount will get settled to your rave account while 90% gets settled to his bank account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OIk0VxsJ0ka_ob7G4fErg.png" /><figcaption>The default setting on the dashboard.</figcaption></figure><p>The payload for this scenario is shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/14de3d356cd54828bf0fd80425021555/href">https://medium.com/media/14de3d356cd54828bf0fd80425021555/href</a></iframe><p>Apparently, the most notable part of the payload is the subaccounts parameter. As you can see, all we did is just pass the id of the subaccount and that’s it. Rave would simply pick up the id and use the default setting you set up while creating the subaccount.</p><h4>SCENARIO 2 — You and a single subaccount (using the default setting on your dashboard — Flat Amount)</h4><p>Same as scenario one. Only that the default setting on your dashboard is to take a flat fee for every saleJake stores makes via your store. (See image below)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSVLv-WcXRaGO4y3GW6mrg.png" /></figure><p>The payload for this scenario is <strong>exactly </strong>the same as scenario 1 (Just copy and paste). Rave recognizes that what you set up on your dashboard is a flat fee and it would apply that appropriately.</p><h4>SCENARIO 3 — You and a single subaccount (overriding the default setting on your dashboard — Percentage)</h4><p>This also mimics the same scenario as that of scenario 1. The difference here is that you do not want to use the default subaccount setting you have on your dashboard. From the figure below, you have set a percentage of 10% for you and 90% for the subaccount; but for some reason, you do not want to go on with that. You’d rather take a 20% commission and give 80% to the subaccount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OIk0VxsJ0ka_ob7G4fErg.png" /><figcaption>Default percentage setting for subaccount</figcaption></figure><p>No cause for alarm ⏰. All you need do is:</p><ul><li>update the subaccount settings via your dashboard as shown in the image below</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N8b1NgDb-O_uuE1e7RdwdA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pnGyeB7CgL2NGvzncjZ8fQ.png" /></figure><h4>SCENARIO 4 — You and a single subaccount (overriding the default setting on your dashboard — Flat)</h4><p>Just like scenario 3, you probably have already created a subaccount with a particular split type (either percentage or flat). But for some reason, you want to override this setting. You feel that you should collect a flat fee of #500 for every sale made on your platform as opposed to what you have set on your dashboard (example below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OIk0VxsJ0ka_ob7G4fErg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSVLv-WcXRaGO4y3GW6mrg.png" /><figcaption>Current subaccount setting on your dashboard</figcaption></figure><p>To do this, you have two (2) options:</p><ol><li>Update the subaccount setting on your dashboard (as shown in the image below) and then proceed as in scenario 2.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IgKgm05qJuKZfgxWkyU79Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAs78aaMq3NhXp000v_ECw.png" /></figure><p>2. Pass two specific parameters alongside the subaccount id to the payload</p><ul><li>transaction_charge_type: this should have the value flat_subaccount</li><li>transaction_charge: this should hold the exact amount you want the subaccount to have</li></ul><p>The sample payload for this scenario is shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb843c515bd6a69bad5bd2cc42b1711c/href">https://medium.com/media/eb843c515bd6a69bad5bd2cc42b1711c/href</a></iframe><h4>SCENARIO 5 — You and multiple subaccounts</h4><p>Let’s assume you have an online store where other merchants sell stuff, and for every single sale per merchant, you have a commission of whatever amount you set on the dashboard while creating the subaccount. Unlike the previous scenarios, there’s no limit to the number of items that can be bought at a time. i.e a customer can pick different items from different merchants and pay for all of them at once (Imagine paying for three(3) or four(4) items at checkout on Jumia).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcBsa6OhoRYJ9NkhWndbNg.png" /></figure><h4>CASE 1: using the default setting on your dashboard</h4><p><em>This case is only applicable if you want the subaccounts you are splitting between to get the exact same amount. If this doesn’t suit you, just scroll to the next case below.</em></p><p>When you decide to go ahead with the default setting while splitting between multiple subaccounts, the behaviour you get is slightly different from when you are splitting with just one subaccount.</p><p>Your commission is a sum of each commission (as set on your dashboard) per merchant. So if a sale worth #10000<em>(</em><strong><em>after transaction fees have been taken by rave</em></strong><em>)</em> is made on your platform involving three (3) merchants with whom you have the following commission:</p><ul><li>merchant 1 (John Stores) — #500 flat per item bought</li><li>merchant 2 (Tolu’s couture)– 10% per item bought</li><li>merchant 3 (Abeni clothing)–10% per item bought</li></ul><p>Your total commission for that #10000 sale will be:</p><p><strong>(500) + (10% * 10000) + (10% * 10000) = #2500</strong></p><p>It is after your commission has been calculated that the leftover<strong> (10000–2500 = 7500) </strong>will then be split among the subaccounts:</p><p>Subaccounts value = leftover / total number of subaccounts</p><p>In our case, <strong>7500 / 3 = 2500. </strong>Hence, each subaccount gets exactly #2500.</p><p>Now that you understand how this works (well hopefully), here’s a sample payload that achieves exactly this:</p><p><a href="https://gist.github.com/Jake-parkers/615f74b26d7677742344608a486b56ee">https://gist.github.com/Jake-parkers/615f74b26d7677742344608a486b56ee</a></p><h4>CASE 2: Passing the exact amount your subaccounts should get</h4><p><em>This use case assumes that you have already done your calculations and have determined how much each of your subaccounts should get once a transaction is made.</em></p><p><strong><em>Using the same example as in case 1(same commissions apply)</em></strong><em>.</em> Now we are concerned with the actual cost of each of the items</p><ul><li>A water bottle — sold by John Stores. <em>Price: #1800</em></li><li>A Knapsack — sold by Tolu’s Couture. <em>Price: #2200</em></li><li>A hoodie — sold by Abeni Clothing. <em>Price: #6000</em></li></ul><p>Time for some calculations 😃 to determine how much exactly each subaccount should get.</p><p>subaccount value = item price — commission</p><p><strong>NB: It’s your job to determine your commissions</strong></p><p>John Stores: 1800–500 = 1300</p><p>Tolu’s Couture: 2200 — (10% * 2200) = 2200–220 = 1980</p><p>Abeni’s Couture: 6000 — (10% of 6000) = 6000–600 = 5400</p><p>Now that you have the exact amount for each of the subaccounts, all you need to is to pass two specific parameters alongside the subaccount id to the payload:</p><ul><li>transaction_charge_type: this should have the value flat_subaccount</li><li>transaction_charge: this should hold the exact amount you want the subaccount to have</li></ul><p>Sample payload for this case is shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6eafe09b9665cea82b2ad6ff0ebbd755/href">https://medium.com/media/6eafe09b9665cea82b2ad6ff0ebbd755/href</a></iframe><h4>CASE 3: Using a split ratio to determine how much each subaccount gets</h4><p>Sometimes you may want to use a ratio to determine how much each of your subaccounts gets. This is also useful if you do not want each subaccount to get the same amount when the split is carried out.</p><p>Any number between 0 and 10 would suffice as a valid ratio to be passed on to Rave. A ratio of 1 represents 10%, 2–20%, 3–30% … 9–90%, 10 - 100%</p><p>Before any ratio you set is applied, Rave would first calculate your own commission based on whatever you have set on your dashboard. Using <strong>case 1</strong> example, if a sale worth #10000<em>(</em><strong><em>after transaction fees have been taken by rave</em></strong><em>)</em> is made on your platform involving three (3) merchants with whom you have the following commission:</p><ul><li>merchant 1 (John Stores) — #500 flat per item bought</li><li>merchant 2 (Tolu’s couture)– 10% per item bought</li><li>merchant 3 (Abeni clothing)–10% per item bought</li></ul><p>Your total commission for that #10000 sale will be:</p><p><strong>(500) + (10% * 10000) + (10% * 10000) = #2500</strong></p><p>After your commission has been calculated, Rave would the apply whatever ratio you have set on the leftover amount — in this case, <strong>#7500.</strong></p><p>Let’s assume that we set the following ratio: John Stores: <strong>2</strong> Tolu’s Couture: <strong>5</strong> Abeni’s Couture:<strong> 3. </strong>They would each get</p><p>John Stores: 20% * 7500 = #1500</p><p>Tolu’s Couture: 50% * 7500 = #3750</p><p>Abeni’s Couture: 30% * 7500 = #2250.</p><p>Now that you understand how this works (well hopefully), here’s a sample payload that achieves exactly this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d558bccfce04489f40fa37f27522e21/href">https://medium.com/media/7d558bccfce04489f40fa37f27522e21/href</a></iframe><p><strong>NOTE</strong></p><p><strong>Rave’s mobile SDKs make it easy to implement any of these split payment cases and scenarios. Check them out — </strong><a href="https://github.com/Flutterwave/rave-android"><strong>Android SDK</strong></a><strong>, </strong><a href="https://github.com/Flutterwave/Rave"><strong>IOS SDK</strong></a><strong>, </strong><a href="https://www.npmjs.com/package/rave-ionic3"><strong>Ionic SDK</strong></a><strong>, </strong><a href="https://github.com/Flutterwave/rave-react-native"><strong>React Native</strong></a><strong>.</strong></p><p>WOW! 😁 you’ve made it thus far. I hope you would be able to implement Rave split payments without any hassle.</p><p>If you enjoyed this article, please don’t forget to gimme a 👏. Also, if you have any comments, use the comment section below.</p><p>Gracias.</p><p><em>Shoutout to </em><a href="https://medium.com/u/a5d9a4bb95dd"><em>Emmajiugo (HRH)</em></a><em> and </em><a href="https://medium.com/u/d7b5bd5b6758"><em>Jeremiah Ifeanyichukwu</em></a><em> for helping with the scenarios, </em><a href="https://medium.com/u/fb5d2029debb"><em>Yusuf Jolaoso</em></a><em> for helping with the tests and </em><a href="https://medium.com/u/f4d6f2842156"><em>Anjolaoluwa Bassey</em></a><em> for helping with proof-reading. 👍</em></p><p><em>Image Credit: Pixabay.com</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd4a1cd4d5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3dSecure Guidelines for Hybrid Mobile Apps]]></title>
            <link>https://medium.com/@jake_parkers/3dsecure-guidelines-for-hybrid-mobile-apps-ec73d916b5ba?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec73d916b5ba</guid>
            <category><![CDATA[rave]]></category>
            <category><![CDATA[hybrid-app-development]]></category>
            <category><![CDATA[ionic3]]></category>
            <category><![CDATA[flutterwave]]></category>
            <category><![CDATA[payments]]></category>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 11:02:58 GMT</pubDate>
            <atom:updated>2019-03-27T11:02:58.628Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi there! This is just a simple guide to help you handle 3D Secure transactions in your hybrid mobile app via Rave.</p><p>First off, we recommend that you use <a href="https://developer.flutterwave.com/docs/rave-standard">Rave standard </a>rather than Rave inline when you want to integrate Rave in your mobile app. <strong>WHY? </strong>With Rave standard, a secure URL is returned to you which you can then load (by yourself) in a webview/inappbrowser. What this means, in essence, is that:</p><ul><li>You have a hold of the browser object that opened the modal</li><li>Since you have a hold of the browser object, you can call the .close() method to close the webview/inappbrowser once the transaction completes.</li></ul><h4>DETECTING WHEN A TRANSACTION COMPLETES (AND CLOSING THE webview/inappbrowser)</h4><p>After reading the above bullet point, you may be wondering how to detect when a transaction has ended since you are on mobile. Well, <strong>wonder </strong>no more!</p><p>In order to detect when a transaction ends (and close the webview/inappbrowser), we recommend that you pass a redirect_url as part of the parameters to your charge payload as shown below. See <a href="https://medium.com/@jake_parkers/3d-secure-guidelines-9e17f9a6cf32">here </a>for how to handle response sent to your redirect_url .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/546b2134f3be6ab7beb277606433f28e/href">https://medium.com/media/546b2134f3be6ab7beb277606433f28e/href</a></iframe><p>You need to pass your redirect_url because immediately after a successful or failed 3dsecure transaction, Rave would call your redirect_url and append the response to it. It is at this point when your redirect_url is called that you close the modal.</p><p>So assuming you have a hold of your broswer event already, what this translates to in Javascript is:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb73dbdb6af4a06809b89f469107cabc/href">https://medium.com/media/fb73dbdb6af4a06809b89f469107cabc/href</a></iframe><p><strong>NOTE: If you are using ionic3+, we have a library that helps you to integrate Rave and also handle 3dsecure transactions here. </strong><a href="https://www.npmjs.com/package/rave-ionic3">https://www.npmjs.com/package/rave-ionic3</a></p><p>I hope this helps. Let me know in the comments below 👊.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec73d916b5ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultimate Guide to Card Transactions with Rave]]></title>
            <link>https://medium.com/@jake_parkers/ultimate-guide-to-card-transactions-with-rave-420e7290f8b9?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/420e7290f8b9</guid>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[rave]]></category>
            <category><![CDATA[flutterwave]]></category>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[cards]]></category>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Mon, 25 Mar 2019 11:27:36 GMT</pubDate>
            <atom:updated>2019-04-10T16:23:38.976Z</atom:updated>
            <content:encoded><![CDATA[<p>Hola! This is yet another rave guideline. But this time, our focus will be on handling the various card transactions possible on rave.</p><p>Currently, with rave, you can charge the following cards</p><ul><li>Local (Nigerian)Mastercards, Verve cards, and Visa Cards</li><li>International Cards — Mastercards and Visa Card</li></ul><h4>HOW TO CHARGE</h4><p><strong>STEP 1: </strong>For any kind of card, local or international, you first need to initiate the payment by passing the following card details which will be collected from your user</p><p>Card number<br> Card cvv<br> Card Expiry</p><p>Here’s a sample payload for card payment initiation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/97870c10887f8e01c1ee6e0b4e3a9c70/href">https://medium.com/media/97870c10887f8e01c1ee6e0b4e3a9c70/href</a></iframe><p>Now that you have the payload, you need to encrypt it (as you can’t initiate a payment on rave with plain old JSON. See how rave encryption works <a href="https://developer.flutterwave.com/reference#rave-encryption">here</a>.</p><p>Once encryption is done, you can then call the charge endpoint — sandbox: <a href="https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/charg">https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/charg</a>e, live: <a href="https://api.ravepay.co/flwv3-pug/getpaidx/api/charge">https://api.ravepay.co/flwv3-pug/getpaidx/api/charge</a>(with your encrypted payload, public key and the encryption algorithm alg used).</p><p>See the sample below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/106e8496967dc1ec05b39e33fe248963/href">https://medium.com/media/106e8496967dc1ec05b39e33fe248963/href</a></iframe><p>After the call to the charge endpoint, we return a response depending on the type of card. See step 2 below</p><p><strong>STEP 2</strong>: Determine the authentication model needed for the card. There are 3 possible authentication models viz:</p><p>PIN<br>3DSecure<br>AVS and GTB_OTP</p><ul><li><strong>PIN</strong>: only local MasterCard and verve cards use PIN as an auth model. After step1, if a card is a local mastercard or verve card, we return the response shown below;</li></ul><p><strong>So what next? </strong>With this response, the obvious next step is to prompt your user to enter his/her card pin.</p><p>After the user enters his/her pin, you need to:</p><ol><li>Update your payload with the pin entered. Your payload will look something like this</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2ff5c4af31e74cff52e7794b3f610861/href">https://medium.com/media/2ff5c4af31e74cff52e7794b3f610861/href</a></iframe><p>2. Once your payload has been updated, you need to re-encrypt it and call the charge endpoint as in<strong> step 1 </strong>above.</p><p>Once #2 is done, you should get a response (like the one shown below) requesting that the user enters an OTP sent to his/her phone number (watch out for chargeResponseMessage field)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8d0c35681512f112d3244efd88e81116/href">https://medium.com/media/8d0c35681512f112d3244efd88e81116/href</a></iframe><p>3. You then need to call the validate endpoint (<strong>sandbox</strong>: <a href="https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge">https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge</a>, <strong>live</strong>: <a href="https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge">https://api.ravepay.co/flwv3-pug/getpaidx/api/validatecharge</a>) with the user-entered otp, your public key and the transaction reference (flwRef) so as to complete the transaction.</p><p>See sample payload below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/79f030ad9f3ecec9bd2f503dbf2ea968/href">https://medium.com/media/79f030ad9f3ecec9bd2f503dbf2ea968/href</a></iframe><p>With the correct otp entered. The charge should be successful and a response like this 🔽 should be returned</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a53841351ad7ede7c71d2b9be628979/href">https://medium.com/media/1a53841351ad7ede7c71d2b9be628979/href</a></iframe><ul><li><strong>3DSecure</strong>: Local visa cards (and some mastercards) use 3dsecure as an authmodel. After <strong>step 1</strong>, if your user’s card is a local visa card (or mastercard eligible for 3dsecure), we return the response below;</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bdd49a5b32cdea9650813a892f686151/href">https://medium.com/media/bdd49a5b32cdea9650813a892f686151/href</a></iframe><p>Whew!!! That’s quite a lot, but fear not! the only fields you should be concerned with right now are status and authurl .</p><p>Unlike a pin transaction, a 3dsecure transaction requires that you load the url contained in the field authurl inside an iframe for your user to complete the transaction. Below is an image of what it’ll look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*xVQFNvZ3QTLr1XwND2OLGg.png" /></figure><p><strong>So what next?</strong> After the user completes the 3dsecure transaction, you will need to handle the response returned. See this<a href="https://medium.com/@jake_parkers/3d-secure-guidelines-9e17f9a6cf32"> blog post </a>for some guidelines on how to do this.</p><ul><li><strong>AVS: </strong>International cards can use either noauth or AVS (Address Verification System) as an auth model. After step 1, if the user’s card is an international card that requires AVS, we return the response shown below:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7ff5f7c65cfa04c5d9a68f1c359012f5/href">https://medium.com/media/7ff5f7c65cfa04c5d9a68f1c359012f5/href</a></iframe><p><strong>So what next?</strong></p><ol><li>You will need to request your user to enter the following: billingzip billingcity billingaddress billingstate billingcountry .</li><li>Update your payload with these new fields and the suggested_auth earlier so that your payload will look like this:</li></ol><p>3. And then re-initiate the payment as in <strong>step 1 </strong>with the updated payload. You should get a response like this ⏬</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/445b4a38a2360af48c8dd4ca686de7bc/href">https://medium.com/media/445b4a38a2360af48c8dd4ca686de7bc/href</a></iframe><p>4. Once you have completed #3, the payment will need to be validated via 3dsecure because as you may have noticed in the response above, the field authurl exists and has a secure payment url as a value.</p><p>5. In order to complete the 3dsecure validation, <strong>follow the instructions for handling 3dsecure transactions above</strong>.</p><ul><li><strong>GTB_OTP</strong>: Only GTBank issued cards use this as an auth model. After step 1, if the card is recognized as a GTBank issued card, we return the response below:</li></ul><p><strong>So what next? </strong>With this response, you are required to validate the charge by calling Rave’s <strong>validate </strong>endpoint (<strong>sandbox</strong>: <a href="https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge">https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge</a>, <strong>live</strong>: <a href="https://ravesandboxapi.flutterwave.com/flwv3-pug/getpaidx/api/validatecharge">https://api.ravepay.co/flwv3-pug/getpaidx/api/validatecharge</a>) with the OTP sent to the user (by GTBank), your public key and the transaction reference (flwRef) so as to complete the transaction.</p><p>See the sample below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/79f030ad9f3ecec9bd2f503dbf2ea968/href">https://medium.com/media/79f030ad9f3ecec9bd2f503dbf2ea968/href</a></iframe><p>With the correct OTP entered. The charge should be successful and a response like this 🔽 should be returned</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a53841351ad7ede7c71d2b9be628979/href">https://medium.com/media/1a53841351ad7ede7c71d2b9be628979/href</a></iframe><h4>THE ULTIMATE “IF” STATEMENT</h4><p>Given that we have 3 different auth models (pin, 3dsecure, and AVS), how do you setup the “if” statement to handle the different auth models? Well here’s how 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b20bcbc81801b3fc27f4e02da441ce5/href">https://medium.com/media/8b20bcbc81801b3fc27f4e02da441ce5/href</a></iframe><p>Yeah. So that’s it for this article on Rave. If you found it helpful, don’t hesitate to give me a clap 👏 and if you have any comments, let me know in the comment section below.</p><p>See you in the next article ✌️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=420e7290f8b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3D Secure Guidelines]]></title>
            <link>https://medium.com/@jake_parkers/3d-secure-guidelines-9e17f9a6cf32?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e17f9a6cf32</guid>
            <category><![CDATA[rave]]></category>
            <category><![CDATA[3d-secure]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[flutterwave]]></category>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 10:36:42 GMT</pubDate>
            <atom:updated>2019-01-23T10:39:14.534Z</atom:updated>
            <content:encoded><![CDATA[<h3>RAVE- 3D Secure Guidelines</h3><p>Hi there! This is just a simple guide to help you handle 3D Secure transactions via Rave.</p><ul><li>Initiate the card charge by calling the charge endpoint. Make sure to specify a value for the redirect_url paremeter. A sample payload is shown below.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/96e5259171a1fee76f137f0f781b6f49/href">https://medium.com/media/96e5259171a1fee76f137f0f781b6f49/href</a></iframe><ul><li>The redirect_url should be set up as a GET endpoint. The response will be added as a query paremeter named response. So all you need to is <strong>parse </strong>the response as json and then do whatever you please with it.</li></ul><p>A sample redirect endpoint in nodejs is shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fcb1caf6989472f09b3b4058318b93c3/href">https://medium.com/media/fcb1caf6989472f09b3b4058318b93c3/href</a></iframe><ul><li>Once the response from the charge endpoint has been returned, you need to check for the availability of 2 paremeters: authModelUsed and authUrl. If authModelUsed has ‘VBVSECURECODE’ as its value and authUrl has a valid url as it’s value then the card is eligible for 3Dsecure and the url should be opened in an iframe in a new window. See sample below.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/225b6926555fb457255dba44e69c23ae/href">https://medium.com/media/225b6926555fb457255dba44e69c23ae/href</a></iframe><ul><li>Once the transaction has been completed and the response has been handled by you redirect endpoint, you should close the iframe and window you opened so as to return to your website or webapp.</li></ul><p><strong>TIP FOR DETECTING WHEN 3DSECURE TRANSACTION HAS ENDED</strong></p><p>A simple way of detecting when a 3dsecure transaction has ended is when your redirect_url endpoint is called. WHY? Because Rave will only call this endpoint when</p><ul><li>The transaction was successfully completed or</li><li>The user cancels the transaction.</li></ul><p>So at this point, inside your redirect_urlhandler, you can use whatever technique available to you to notify your frontend that the transaction has ended.</p><p>One way is to use <a href="http://pusher.com/">pusher</a> to notify your frontend that the transaction has ended and the window should be closed. A sample is shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0411d5db6cab677d1548363926dad3c7/href">https://medium.com/media/0411d5db6cab677d1548363926dad3c7/href</a></iframe><p>Once your frontend receives the message from the bound pusher channel, you can then close the opened window with the .close() function. A sample is shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/527079a46c82361823abccece9f1e16f/href">https://medium.com/media/527079a46c82361823abccece9f1e16f/href</a></iframe><p>And that’s it for handling 3DSecure transactions. If you found this article helpful, kindly give it a clap. Also let me know what you feel in the comments below.</p><p>Cheers!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e17f9a6cf32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test]]></title>
            <link>https://medium.com/@jake_parkers/test-3ef0bca3a08e?source=rss-72171388f712------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ef0bca3a08e</guid>
            <dc:creator><![CDATA[Joshua Boateng]]></dc:creator>
            <pubDate>Wed, 04 Jan 2017 16:37:58 GMT</pubDate>
            <atom:updated>2017-01-04T16:37:58.316Z</atom:updated>
            <content:encoded><![CDATA[<p>I am just testing this out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ef0bca3a08e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>