HomeSoftware DevelopmentMake Funds with Google Pay and Firebase — Google Builders Weblog

Make Funds with Google Pay and Firebase — Google Builders Weblog



Posted by Stephen McDonald, Developer Relations Engineer, Google Pay

Join A number of Fee Gateways with Google Pay and Firebase

We lately launched a collection of open supply samples demonstrating the server-side integration between Google Pay and quite a lot of Fee Service Suppliers (PSPs). These samples additionally present the right way to create a unified interface for integrating a number of PSPs, making integrations as simple as attainable by lowering the time funding in integrating a number of APIs and shopper libraries.

A current research by 451 Analysis confirmed that for retailers with over 50% of gross sales occurring on-line, 69% of them used a number of PSPs. We first demonstrated with the aforementioned samples how one can implement a constant interface to a number of PSPs, streamlining your codebase whereas additionally offering extra flexibility for the long run. We have now taken this one step additional and introduced this unified PSP interface to the Firebase platform, by means of a Firebase Extension for Google Pay, making it simpler than ever to combine Google Pay with a number of PSPs.

Google Pay Firebase Extension

Firebase Extensions are open supply pre-packaged bundles of code that builders can simply pull into their apps, and are designed to extend productiveness, and supply prolonged performance to your apps with out the necessity to analysis, write, or debug code by yourself. Following this line, the Google Pay Firebase Extension brings the unified PSP interface to builders’ Firebase apps.

With the Google Pay Firebase Extension put in, you possibly can cross a fee token from the Google Pay API to your Cloud Firestore database. The extension will pay attention for a request written to the trail outlined throughout set up, after which ship the request to the PSP’s API. It should then write the response again to the identical Firestore node.

Open Supply

Like all Firebase Extensions, the Google Pay Firebase Extension is fully open supply, so you possibly can modify the code your self to alter the performance as you see match, and even contribute your adjustments again by way of pull requests – the sky is the restrict.

Moreover, because the extension is backed by the aforementioned PSP samples challenge, the identical set of PSPs are supported. Need to see your favourite PSP supported? Head on over to the PSP samples challenge which comprises directions for including it.

Summing it up

Whether or not you are new to Google Pay or Firebase, or an present consumer of both, the brand new Google Pay extension is designed to avoid wasting you much more effort and time when integrating Google Pay and any variety of Fee Service Suppliers together with your utility.

Get began with the extension at present within the Firebase console.

What do you assume? Comply with us on Twitter for the most recent updates @GooglePayDevs

Do you will have any questions? Tell us within the feedback under or tweet utilizing #AskGooglePayDevs.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments