Transfer Solana on smart contract - solana

I have a question
In the smart contract that I am developing, I am having difficulty developing the payment functions.
I would like to make it so that a user A can for example send 1 solana to user B through the smart contract.
USER A <===> SMART CONTRACT ==> USER B
Could someone help me please?

Related

Id like to integrate Pay with phantom USDC(Solana) in my web3 store

im new to web3 world. and im trying to integrate transfer udsc solana network in phantom.
For example when user chooses a product that costs 100$ there should be an option that with a phantom icon click he/she can pay with Phantom popup and transfer worth of 100$ USDC (100USDC) to my hardcoded wallet. Any ideas how to do that?

Application to send funds/money to Shop vendors, Person like Google Pay, Paytm

We would like to implement a payment solution where end users can send money to other users, merchants (e.g Walmart, shop vendors).
(Payment service to send money to shop vendors (e.g Wallmart), Person, POS)
e.g Nowadays we send money via NFC, by scanning QR Code, etc.
Is there any possibility to implement such solutions?
General Application flow:
Customer registers on the app.
Connect their bank account, add their Debit Card.
Can pay to anyone via NFC, scanning QR code.
I didn't find anything yet but exploring: https://developer.mastercard.com/
Your thoughts?
We found a 3rd party service (Card issuing) Marqeta to solve our problem. Using the API we can do the following:
We can issue cards to Users (Virtual, Tokenized, Physical)
Users can push cards to Google Pay, Apply Pay to use NFC payments.
We can keep track of transactions made by the issued cards.

Mastercard MoneySend API and Visa Direct API

I want to create an app like Google Wallet for my country, Romania. I emailed Visa developer and I received the next email.
"Hello,
Thanks for your interest in visa direct API. There is an
acquirer in Romania who supports visa direct transaction BANCA
TRANSILVANIA S.A.
However, There are many elements and requirements
to offering a comprehensive Visa Direct program of which the APIs are
just one component. First and foremost you must be sponsored by a Visa
acquiring financial institution or work through a payment aggregator
or facilitator to offer a Visa Direct program. You must identify and
work with a sponsoring Visa acquiring financial institution or payment
aggregator or facilitator who will help guide you through the process
of onboarding a Visa Direct program. If you already have an acquiring
sponsor, please let us know. For more information on Visa Direct
programs, refer to www.visa.com/visadirect Thanks Sanobar Visa
Developer Platform "
What do you understand from this email?
So this means I can't use the APIs from https://developer.visa.com?
If I can't use their API from the developer website, this means I must use a payment aggregator? I don't know any payment agregator that can use my local currency (RON - Romania). Can you sugest some payment aggregators please...
These APIs (Mastercard MoneySend and Visa Direct) are good for what I need?
you need a partner with a financial institution like a bank or

Elavon.com credit card integration in Codeigniter

I'm working on a project that needs to be have the credit card payment integration, we want to use elavon.com API. One of the requirement states that we need to record the credit card information during order, manually approve/ reject each order & charge the card only when the order has been manually approved.
The question is can we do something like this with Elavon? & is it the right approach for this task, as I know there are many security risks with this.
I read about getting a token from the API and storing the token instead of storing the credit card information. Any direction/ guidance in this direction is highly appreciated.

Braintree and credit card payment from mobile app

I am working on an app that requires payment to be collected from customers. I have few questions related to braintree integration with my app. I am actually struggling a bit with the workings of the braintree so thought of checking here.
The PCI compliance is critical so i do not want to store anything in my app or the backend server. Can I achieve this with braintree? I also don’t want customer to retype the credit card information when they come back to the app. As I understand there is a Vault functionality which can do this but I was not sure.
Do I invoke the braintree API from iOS app directly or do I need to first send the credit card information to my backend layer and then invoke the Braintree APIs from backend. I don’t want to transmit anything to my server due to the PCI compliance so I am hoping that I can just invoke the braintree API directly from the iOS APP and when user comes back, again invoke the braintree Vault API from the APP and pull the previously used credit card.
appreciate if anyone can pls. direct me to some kind of architecture / white paper/best practice on this. I went thru the APIs document on braintree site which provides and good API documents but i could not find the high level architecture document on this.
Thanks in advance..
Yes. https://articles.braintreepayments.com/control-panel/vault/overview
Yes use from iOS. https://developers.braintreepayments.com/ios+ruby/start/hello-client
for number three... I'm not sure where to find that. Definitely ask support

Resources