How to design own checkout.js similar to paypal or stripe - javascript

Paypal and Stripe provides their own checkout.js. Client app/website integrates the checkout.js in their payment page to enable Paypal/Stripe payment button in their interface.
I want to know, if I had to design a similar checkout.js for a payment gateway, what are the things/components to look at? Is there any guidelines/ best practices available on the internet on this? And, is checkout.js really a efficient solution to enable client apps integrate with your payment solution? If not, is their any alternate / better way?

As is the case any time you decide to blaze your own trail when handling sensitive information like credit card details and passwords- proceed with extreme caution. One simple slip-up or oversight could potentially leak your customer's card details to the "bad guys". In short- don't do it.
If you're still trying to create your own checkout solution after considering the above advice, Stripe's documentation on how to use and customize their Checkout form is a great place to start.
Anecdotally, I can vouch for the effectiveness and ease-of-use of Stripe's checkout plugin.

Related

How to integrate the shipping system in an App with React Native

I developed an e-commerce app with React Native for Android and iOS and I already have almost everything that is needed to work but it does not have a shipping system (tracking) and I don't know how to do it.
Do shipping companies like Fedex or DHL have a special system for it?
I appreciate any resource or course that helps me find a solution to my problem.
Resource (links) or course(s) that helps me find a solution to my problem.
Some shipping companies provide tracking apis
fedex: https://developer.fedex.com/api/en-us/home.html
UPS: https://www.ups.com/upsdeveloperkit?loc=en_US
DHL: https://developer.dhl.com/
These shipping companies have specific requirements and procedures for accessing their APIs, so be sure to read their documentation carefully.
Alternatively, you can consider using a shipping API aggregator service like Shippo (https://goshippo.com/), which allows you to access multiple shipping carriers through a single API.
Libraries:
UPS: https://www.npmjs.com/package/ups-api
DHL: https://www.npmjs.com/package/dhl-node
Shippo: https://www.npmjs.com/package/shippo
multiple delivery companies: https://www.npmjs.com/package/delivery-tracker

Is Tipsi-Stripe just for creating Stripe tokens or can you use it for the actual transactions?

I am trying to implement Stripe into my react native app to enable credit card usage, but I've become a little confused. Through my research I have gathered that stripe requires a token consisting of the card information to complete a transaction, and it seems that the way to do this on react native is by using Tipsi-Stripe. Tipsi does not have very thorough documentation so its hard to tell what its total purpose is. Their given project example seems to show that you can only create tokens through it unless using apple or android pay, but I feel like I am just missing something. Other tutorials mention use of a backend to make it work but the Tipsi documentation says nothing of a backend. So is Tipsi able to complete transactions without android and apple pay? I feel i have a fundamental misunderstanding of Stripe with rwact native and the limited documentation on using the two together is making it pretty hard to figure out. If someone could point me in the right direction that would be great. Thanks

Integrate Payment Gateway into NativeScript App

i am quite new to Mobile App Development, Payment Gateway implementation and NativeScript itself. Now i shall integrate an IPG into a Mobile App build with NativeScript to allow the user to buy goods via the Application (it is already possible to do so via the Website). I do not have any information regarding supported payment methods yet.
Whenever coding something i do have the opportunites to either write it on my own or use an existing open-source API. I've decided to try an open-source API to make it work.
My Problem is that i don't really know where to start. I have been doing some research on "how nativescript works" and Payment Gateway itself. Basically any JavaScript code is going to work with NativeScript, so any open-source API for IPG working with JavaScript should do it for my Application, right? Since i did not find any open-source API's for NativeScript itself, i started looking for any JavaScript API. Sadly, all if found was an API of telecash (https://www.telecash.de/produkte-services/e-commerce/support-fuer-entwickler/downloads-handbuecher/) (watch out, thats a german side), whose documentation seems quite fine, but it did not seem open-source.
So my Question(s):
Can anyone tell me a little bit about any experience you might have with that topic (perhaps just a link or a tip)? Maybe there is even another thing that i should start with that i have forgotten? And i think i did not understand the difference (if there is one) between Payment Gateways itself and IPG. Maybe someone can help me out on that.
I can not post code here since i am still on the "research"-phase (have been for quite a long time), but I can not see any progress within it so I am counting on your help. Feel free to correct me if I did a mistake or understood something wrong I mentioned here. :-)
Best regards.

PayPal / Google Checkout or Alternative HELP?

I am exploring options to enable a checkout on a website for a friend. The requirements for the checkout are seemingly simple. The product in question can be viewed here:
http://www.cedartimemachines.com/CCB.html
I have worked with PayPal and Google checkout to accomplish this, however the buy buttons only allow for 1 drop down menu with prices per product. What I need is to have the all the features elected by the customer to add up and proceed to the checkout with that price.
I have a thorough knowledge of HTML, CSS and Javascript, but I do not have a clue when it comes to server side stuff or eCommerce. Any help would GREATLY appreciated.
You might look at https://stripe.com/ - their API will let you set up your form however you'd like, and then have them do all the heavy lifting for the billing. You'll get a confirmation token back once the transaction completes, and can use that to deliver the product.
Check out the documentation to see if it'll work for you.

What is the best Facebook / Twitter SSO framework

I have a website where I want users to be able to leave reviews and rate products. I want some sort of SSO based system where they can use existing facebook / twitter accounts to "sign in". It is essential that I am able to uniquely identify them once they have so that they cannot rate products more than once etc.
What is the best system to use?
The requirements are:
Easy to implement
Lightweight
Facebook / Twitter integration
Ability to uniquely identify users
once they are signed on and possibly retrieve basic information such as First name and initial etc
You might also want to take a look at Wordpress, it is, in my opinion, one of the better frameworks for this sort of thing. There's a plugin called WP-FB AutoConnect here:
http://wordpress.org/extend/plugins/wp-fb-autoconnect/
Hope this helps
It sounds like you're looking for something like Janrain Engage which is a library that lets you integrate login with popular social media sites.
I think the only thing that comes close is YQL
I don't know what your skill level is, but if you don't want something like wordpress. I've used CodeIgniter with https://github.com/ericbae/Tank-Auth---3rd-Party-Authentication-Project
It gives you facebook, twitter and google friend connect.

Categories