Pass Data From Stripe To Joomla - joomla

Using RSFormsPro and Stripe when someone has already created an account on my site and purchased something, can I return the last 4 of the card used to purchase the item from Stripe and populate that on my Joomla site asking the user if they want to use this card?

Related

Validate uniqueness of email/phone on Stripe checkout page

After Customers checkout from Stripe payment link, We use their filled email and phone to create record/signup in our database on confirmation page. Our business requires that email and phone should be unique. Therefore when some customers enter duplicate detail (email/phone) it causes issues.
Is there a way that we can enforce email address and phone to be unique? Either through some Stripe web hook or configuration on Stripe end.
One way I know I can use is to create my own checkout session with pre-validated email/phone but I want to avoid that.

How to store an identity for guest user in laravel?

I am new to Laravel and for a starter learning project, I was developing an E-commerce website using Laravel. I want to develop the cart functionalities but got stuck at a point.If a logged in user clicks "Add to Cart" button for an item, it gets stored in the database and that item in cart gets related to the particular user ID and that's how I know what user have what items in cart. But how can I handle users who don't have an account? Not all users always create accounts when they use an Ecommerce platform. What relation can I use for guest users ?
P.s. I know there are several cart functionalities available on Github for handling cart but I wanted to implement that myself
Please help me with this

How to Update User Card Detail /Billing Details on Strip from laravel App

I want to update User Billing Details like user address, User card no,cvv, etc. from laravel App. i'm using Stripe Subscription.
Is there any API to update User Card details in stripe ??

Square E-commerce Api integration to clients website

Sorry if this is a simple question but I am trying to understand the best way to do this and I am new to Square development. I have a customer who has the Square chip card reader device on their cell phone and they are taking credit cards today. They also have a website which is using a oscommerce shopping cart and authorize.net gateway for processing orders on their website. What they want to do is just use Square and change the website so it integrates with their existing Square account. I understand the basic process of how to do this with the E-commerce API but I am a little confused on the developer / merchant Credentials.
This is a one off development for them so I do not think I want to use the oAuth method.
If they are a merchant today do they have to sign up under the developer area and create a app using the Application Dashboard so that they have a personal access token and application ID that I would use on their website? ( I already signed up and have a developer account)
What information about a sale is shown on their Square account once I integrate the secure SqPaymentForm payment form onto their website? Today all the details on the order are in the shopping cart such as what the customer ordered, the shipping address etc. Is this now going to appear on the Square account for them or do I still need to maintain this information in the shopping cart? It would be good if they could use a single interface such as the Square account.
thanks for your help.
If you don't to use OAuth, you'll have to have the merchant go to the Square Developer Portal and give you their personal access token and application id.
There are many different ways you can implement an online store, so where the information lives is all up to you. You probably want to keep your existing shopping cart functionality and just implement square for the payments, as that will likely be easiest and ensure you have all the data you want.

How do I login with PayPal to save user_id?

Is it possible to use a "login with PayPal" button through the PayPal API? I want to use it as a twitter signin to link your paypal account once to the app, then have it store a user_id.
Is this possible?
I want some kind of 'connect to paypal' behaviour. Think about a shop where goods are sold and get paid to the shop onwers paypal account. The shop owner must verify (connnect) once his paypal account and the app will then know where all payments must go.
It is also possible to just ask for the shop owners paypal email account, but this ain't really low level in my opinion.
If this even was posssible to do I wouldn't do such a thing for authentication.
The reason is, the user could easily assign that he has to pay for every login with this procedure.

Resources