I am trying to integrate my web app with Amazon Simple Pay, so that users can pay for added functionality on the website.
Once a user makes a payment, I need to update that user in the database to mark them as being paid. It seems, however, like I can't send up any data, like the USER ID, so when my IPN comes back from Amazon, I don't know how to link the payment information with the user. How can I do this?
Related
I'm trying to build a Patreon-like app: A creator creates an account where users can then subscribe for some price.
I have gotten to the point in my code where I now need the user to add his bank info into stripe so he can receive funds. I have come across questions like this, and this, but neither shares any information on how a user can input his bank info on the client-side (they only deal with the backend).
The connected accounts are Express accounts.
How do I make the user add banking information on the client-side?
I have been recommended this stripe page but it does not show how to allow a creator to input banking info on client-side. I have also implemented the example backend code from firebase and updated it for my specific case.
Update:
I've also come across this page about Managing bank accounts and debit cards but it appears to be for custom accounts not express.
Stripe uses a hosted onboarding page for Express accounts. It's basically a form hosted on a Stripe domain that handles all the common onboarding requirements (e.g. verification documents and bank account details) needed.
Once the user has filled everything in they are redirected back to your site/app. In other words you don't really have to worry about collecting bank details client side, Stripe does it for you: https://stripe.com/docs/connect/express-accounts
Using the iOS SDK for Stripe, can we do the following
Create a customer profile where the customer id can be sent and stored to the backend
Add, edit, delete credit cards to the customer profile
Card can be charged automatically from the backend
Note that, once the user make a payment via stripe, we ask them to allow auto-payment next time the balance goes below a certain level. So, it is not periodic subscription. But it is a permission in advance, to charge later.
For a single payment, the SDK takes the card info and provides the token. Token passed to server where the payment is finally process. This looks very nice and secured.
I do not want to store the card info in the iOS app, also not in server. But does stripe take the responsibility to store it and allow the backend to charge it later? I need a way so that server can communicate with stripe with a unique id and amount, so that stripe accepts the request and make the payment.
You can ask for webservice to your webservice developer which can make APIs to create customers in stripe account and store its customer_id in database so for next all payment you can make payment using customer id. Stripe will store card details in its database so no need to store card details at our side.
In our app, we are trying to implement a payout feature. If the user correctly performs Action A, we want to be able to pay some incentive money to this user, assuming the user has already connected his account to PayPal or Venmo.
How can I implement this, do PayPal and/or Venmo SDKs/APIs make this possible?
Venmo does not allow you to send money from a business to customers. PayPal does, I believe. You should do this from a backing web service, rather than the app itself. To complete the payment from the app, you would need to embed your account information in the app itself, which would be a security disaster.
I made a website ASP.NET MVC which use PAYPAL to manage payments.
I want to know when the payment is received by paypal account and save the information into my database.
The situation is the following:
TWO OR MORE USERS
USER_A has product which want to sell
USER_A subscribe an account in my Website,
USER_A provides is paypal email account to my website
USER_B SEES USER_A'S PRODUCT
USER_B WANTS TO BUY IT
USER_B MAKE ORDER IT
USER_B PAY BY PayPal
to do that I have followed the instruction from here
everything works good, although there a problem,
to get the notification of payment into my website the USER_A (who receives the payment)
has to enable IPN notification into his paypal accaunt and set URL for notification.
Could be nice avoid that the user does that manual and make a automatic procedure to do that, my achievement is
USER_A SUBSCRIBES AN ACCAUNT INTO MY WEBSITE
USER_A PROVIDES HIS PAYPAL ACCOUNT
USER_A CLICK A BUTTON AND HIS PAYPAL ACCOUNT GET IPN SETTING INFORMATION BY A "PAYPAL API"
Is that possible? I spent so much hours into paypal API info websites but I haven't found anythings valuable. Is there anyone who as manage that problem?
thanks
michele
You can't update somebody's profile setting via the API, but you can include the NOTIFYURL parameter in your API request and that would simply override what is in the profile.
You could even setup a listener that you host and have your application send all the IPN's to it so that you can generate personalized email notifications, update your database, hit 3rd party web services, or anything else you might want to automate for your customers.
You could actually go ahead and give your sellers the option to setup an IPN URL that they want to use separate from what you're sending in NOTIFYURL so they can do their own processing, too. Then you would actually POST the same IPN data from your listener on to their listener. I actually wrote an article on this awhile back you might be interested in: Daisy Chaining IPNs
Ok so there is this feature that I would like to implement on my site. Users can choose to donate money to a specific nonprofit (let's say Wikipedia). So they click donate and they choose the amount on the website, get redirected to PayPal website, complete the transaction, and then get redirected to my website AFTER I get some Instant Notification, with which I track that donation in my website database with the users info.
I looked up some Railscasts video about PayPal, but they were all mostly about e-commerce. How can I set up the system to wire the money directly to Wikipedia's PayPal account and how can I get the notification back? I really could appreciate it if someone could assist me with this.
P.S I am running the localhost server for now, will that be a problem?
What you're trying to do is called a "third party transaction" since the first two parties to the transaction are the donor and the recipient org (eg Wikipedia).
From my quick search of PayPal, I don't think it is supported. Even if it is supported, you'd need approval from each of the recipients to set it up. Eg see this Paypal 3rd party shopping cart article
Amazon Flexible Payments Service does support third party payments. Again, you'd need the co-operation of the recipients.
You could have the donors pay money to you which you would then turn around and donate to the non-profits. But to do so, either your donors would lose the tax deductions or you'd need to become a non-profit yourself. In addition, there would be two sets of transaction fees, yours and the recipients.