Sending emails to users after an order React | Javascript - javascript

Tech Stack:
firebase
react
node
stripe
redux
Doing some qualitative research.
I have an eCommerce site and want to send an email to the customer after they have ordered a product with the total amount.
What ways have you guys found this to be possible?

Related

Stripe Checkout with multiple products not built in Stripe Dashboard

Good evening everyone. I have one big question which contains others. I hope it's not a problem, it's all connected.
I have implemented stripe to my site and I wouldn't want to create every single stripe product in the stripe dashboard but manage my products and bring them all together to the stripe checkout when the user confirms his purchase. Someone know if it's possible?
If it is I currently have prices created dynamically in js files in the client directory and I know all prices should be kept in the backend so I need to change the whole approach?
And finally if it is possible to have my products redirected to the Stripe checkout page how do I insert in the server.js session the unit_amount in line_items corresponding to the cart total?

How to auto sync Amazon seller orders with SP-API?

Developing an app that should allow customers to connect their Amazon seller account, which would export all of their unshipped orders. Once tracking numbers are provided for their unshipped orders on my dashboard, it would send the tracking numbers back to their Amazon seller account and mark that specific order(s) as shipped.
I have been stuck on the concept of doing this. I have it setup to where the customer has to manually enter keys, but that would be too difficult for customers. I want a simpler setup that will request the user to signin to their Amazon account like the below example:
I've been through the docs but I am not quite seeing how other businesses are achieving this. Could someone please outline the flow to have a similar setup?

How do I get my flutter firebase user to also create their stripe account

I am creating a mobile marketplace however, I don't know how to allow my user who has created an account with firebase also create a stripe account and having that connect to my app so that when they create a listing for a product, they can receive money in their stripe accounts after someone buys their specific product.
My question is, does anyone know how I can do that? I tried following the stripe instructions but realized that they are only making an account and after they sell an item, they arn't getting payed. How would I program that? How would they get payed? For firebase functions, I am using Js. My mobile app is made using flutter and my backend is firebase.
You can make a payout system "add to each user a field which holds the total gained money and when this user collect a specific amount you can send money from stripe to his bank account" because it's not right to connect each user with Stripe as it or any other payment gateways allow to connect the app with one account and it requires some information to be able to receive money .. etc , you see that you put private key and other key to connect with stripe and those keys and you should hide'em with env properties so no one can see'em
I hope you got what i want to say
Stripe Connect has a 3 different charge types to select from : https://stripe.com/docs/connect/charges
In general, you would either create the charge on your platform then transfer the funds to the connected account, or create a charge on the connected account. You would want to follow one of the two guides below depending on which charge type [0] you choose :
https://stripe.com/docs/connect/collect-then-transfer-guide
https://stripe.com/docs/connect/enable-payment-acceptance-guide
Following the flows mentioned above, funds will accumulate in the connected account's balance and will be available to be paid out. You can read about connected account payouts in more detail here : https://stripe.com/docs/connect/bank-debit-card-payouts
You would probably want to write in to Stripe support if you need further guidance on how Stripe Connect works as a product.
This documentation provides detailed steps on how you can
process payments with Firebase using a stripe account.
It walks you through customizing and deploying your own version of
the open-source cloud-functions-stripe-sample.web.app example
app using stripe payments whose source code is available at this
GitHub link.
Also have a look at this stackoverflow thread where a
stackoverflow user has shown how he has integrated Firebase with his
stripe account using Firebase functions.
For a detailed description on how you can create a stripe account for
Firebase Flutter, go through this article.

Automatic transaction fee charge based on sales amount from app referral

I'm building a react native app that allows companies (clean beauty brands) to showcase their products within the app (a beauty community). App users can visit the brands' website in a nested browser in our app and buy products from the brands website. I'm looking for a way to automatically get a transaction fee from the brands for sales initiated from our app (so transactions on the brand’s site where our app acts as the referrer, so our app is affiliate marketer). The majority of the brands we work with are small companies with websites on Shopify and SquareSpace, a lot of them use Stripe. Any advice appreciated!
You would need to use Stripe Connect. The idea is that you will act as a platform and each brand will have their own Stripe account that they connect to your platform. Then in your application, you will be able to offer their products on their behalf. When a customer wants to order some products, you can charge their card, have the funds go to the Stripe account for the brand and take your own fee out of the transaction (which is called an Application Fee).
I'd recommend looking at Stripe's detailed documentation for this:
https://stripe.com/docs/connect
https://stripe.com/docs/connect/enable-payment-acceptance-guide

PayPal Merchant API - Getting Products Information

New to using PayPal, and had a general question regarding what it can provide.
The need is to enable someone with a merchant account on PayPal to login to a website (meaning the api should probably be in javascript) and then get from the API information about the products the merchant supplies.
Does anyone know how this can be done?
Sincerely,
-Lior
PayPal doesn't have any way to store actual inventory data. If you process orders with item details included then you pull those details using GetTransactionDetails.
If you're using the Button Manager API you could create individual buttons for different products with inventory tracking enabled on those and then you could potentially pull "inventory" data by pulling the buttons. I wouldn't recommend that, though.
Really, the best thing to do would be to manage your inventory in your own system of some sort.

Categories