We are building SAAS platform like Shopify. Now we would like our customers to install MailChimp on their store just like Shopify customer installs on their store.
When I was trying MailChimp on Shopify platform, i noticed somehow Shopify receives some key/token from MailChimp when installation completes and then Shopify uses this key/token to update MailChimp list of that store whenever some events occurs. That's what we are looking to build.
I tried MailChimp API (on Playground) with the generated key. But, this API creates store, list etc under my account, then how do i enable this against our customer's MailChimp account?
I would greatly appreciate it if you kindly give me some feedback.
Both Shopify and MailChimp use OAuth to exchange API credentials for users accounts between each other.
In your case, you should probably check out MailChimps OAuth 2 documentation on this topic.
When it comes to integrating MailChimp with your SaaS, your application as to acts as a client to MailChimp. Use OAuth to let your users connect their MailChimp account to your application and store the Refresh and Access Tokens in your database. This allows you to make requests to the MailChimp API to access your user's MailChimp data.
Related
I have a shopify store built in nextJs app that consumes shopify storefront APIs.
I want to enable social logins for the customers in my nextJs app but I dont seem to be able to find the right APIs to implement this.
currently, we're using shopify's username and password login for customers from storefront APIs.
I have searched through multiple sites and community but couldn't find help.
I'm building a NodeJS API + Android/IOS Apps connecting to that API.
Additionally, I have a Shopify store where customers register and purchase products.
Now, I need to set up auth flow on these mobile APPS, which will redirect to the Shopify store, authenticate using customer account credentials, allow that customer to log in with APP, and allow API access with that authentication.
API Auth layer developed with JWT authentication for the moment which is working without shopify interaction.
Is there anyone who has done something like this with Shopify customer accounts?
I am developing a web application for musicians to grow their fan base for their music.
I want that as a musician if i have a eventbrite account already.
I can directly sign in using the same EventBrite Account Credentials to create an account in my proposed web application.
I did find that Eventbrite provides an API
Link: https://www.eventbrite.com/platform/api
I just want to know will this API help to achieve what i want irrespective of my web app technology stack i am using.
Please help.
My client wants to build an website app that allows customers to link their Xero account to the website so that certain actions such as create/manage employees can be updated in the website and also pushed to the respective user's Xero account.
I've been through the basics of connection to the Xero API and had to create/install certificate and generate Xero keys etc to get both apps talking to each other. This is not a feasible approach for end users of the site trying to connect their Xero account as it requires sharing a key etc that is supposed to be secret.
Is there a way to create a connection using just some sort of Xero key - similar to linking Xero accounts? Or it the case that my client would need to become a Xero Partner and actually create an app that users can install from their Xero account?
The Xero API has a number of different types of applications - sounds like you've set up a private app, which (as you've spotted) is intended for interaction with a single Xero organisation.
To interact with multiple Xero accounts, you'll want to create a public app on https://developer.xero.com/myapps/. This will allow you to send multiple users through the OAuth1.0a auth process, giving you an access token for each account that has authorised your app. You can then persist these tokens and match them to the account in your own web app.
Note that this will give you access to each Xero account for 30 minutes before the user will need to authorise your app again. For long-lasting access tokens, you'll need to register your interest via the link in this page to get information on how to complete this process.
I have different questions about Paypal API Credentials
Is it possible to retrieve User API credentials (Classic API Signature) for a paypal business account from code?, maybe calling a method of the PayPal SDK to access his profile?. I want to code something that checks if Merchant does not have API credentials, in case that he has them, store them in my local database for payment operations and if not, maybe redirect him to a video explaining how to do this.
Are those credentials different for each merchant account?
Is there a way to have the same credentials for different users using classic API?. I know Rest API Allows to do this (with client id and secret), but it does not allow me to do embedded payments, so that's why I'm using the classic API.
Thanks a lot
You can't do that. The API doesn't have anything like that. Either you need to post API calls using their API credentials or have them authorize your API username to run calls on their behald (where you pass their primary email address in the API calls).