Can I generate custom Dwolla buttons for each of my users with just their Dwolla ID and my Application Key

StackOverflow https://stackoverflow.com/questions/21920316

  •  14-10-2022
  •  | 
  •  

Question

So my web application will have users, and each user has customers. Each customer has their own customer page where they can see and pay the user any remaining balance on their account.

I want to create "Pay Now" buttons that link to the user's Dwolla account, and return the customer back to my site after they have submitted the payment. I don't want to make each user generate their own button though. Is there any I can generate a button for them with my own application key and their Dwolla ID?

Was it helpful?

Solution

You wouldn't use Dwolla payment buttons for scenario. You can simply integrate with our Off-Site Gateway API. Check out the Server-to-Server workflow here.

Essentially, your webapp will POST to Dwolla some details about the checkout you’re trying to create (destination, amount, etc.) and Dwolla will respond with a CheckoutId.

From there, you'll use the CheckoutId to construct a URL which you'll send the user off to by means of a redirect or a link.

Here's a demo of what this flow would look like to a user.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top