Payin Dropin not working as expected

Am working in sandbox (of course) to implement Dwolla integration using the drop-in components. Evertyhing appears to work fine when creating a business customer etc… After having added a funding source (verified) then when wanting to use the Payin drop-in there are issues I don’t know how to resolve.

Config is setup correctly to get client-tokens, which work for all other dropins.

The component does load the funding sources to select from, but there is no way to enter an amount in the dropin itself other than from outside the component.

Also in the example there is option to enter blob and token, but it doesn’t show where these come from nor in the docs what those should be.

Even when no amount is set, but selecting a funding source the Send Payment option is available, but then results in an error (but doesn’t display)

When having an amount set, and then clicking Send Payment a transfers request is made but this results in InvalidAccessToken (401 unauthorized) error.

Where do I go from here and where can I get better info on how to make this dropin do what it is supposed to do, transfer funds from source to Balance funding source.

Hi @Paul_Derbyshire, apologies, our documentation is a bit incomplete in regards to the Payin drop-in. This example should be helpful to reference when setting up the payin drop-in! It’s an Express app, but it shows the general set up of the drop-in and the client-token creation call which includes creating a JWT blob which gets passed to the component to decode the destination and pre-populate the Amount.

Hope that helps! Let us know if you run into any questions!

OK, so the blob and token are not required I assume as in the dropin the user would select their source, which we wouldn’t know before generating the blob. If we did then what would the purpose of the blob and token be?

So currently with this dropin it also requires the amount to come from outside the component and there is no way to set this within the dropin?

Seems that using APIs may be a better option then for us for now.

Hey @Paul_Derbyshire, the blob and token are still required, blob for decoding the destination and the amount that you would choose, while the token is the client token that’s required by the component to make calls to the API.

It does sound like using the API directly would be a the best bet for creating transfers in your platform. The pay-in drop-in is more suited for when there’s a set amount that is supposed to be collected from a Customer, like an invoice.

Hope that helps clarify things!