OAuth - Sorry, an error occurred while processing your request


(Rockers Technology) #1

Hello
I am trying to use sandbox environment to access token to integrate API
I am getting this error
Sorry, an error occurred while processing your request.

this is my get url :

https://sandbox.dwolla.com/oauth/v2/authenticate?client_id=P4Dhd1seTbKdYI5kiL2Qtg6mAn0gKaGvciuF3cb8GdS95FpGYq&client_secret=BXRIoBOuAeDSmyRc45VTYwfEumXJ1azH5xhGlLDwvKNtEC1yBf&redirect_uri=http://rockerstech.com/stripe/&scope=Send|Transactions|Funding|ManageCusomters&verified_account=true&dwolla_landing=register


(Spencer Hunter) #2

Hi @Rockers_Technology, Are you wanting to integrate with our Access API (white labeled) or Transfer (co-branded)?


(Rockers Technology) #3

Access API


(Rockers Technology) #4

I am checking rockersinfo.com sandbox account with transfer api,
I create two verified customers,created one verified funding source.
but when I create transfer API call then its status always say pending.it more then 4 days,but still same status.
Please let me know how to do completed status?


(Spencer Hunter) #5

Hi @Rockers_Technology, If you’re integrating with our Access API then there’s no need to implement the 3-legged OAuth flow like you mention in your initial post. Instead, your application will exchange your client credentials (App Key and secret) for an application access token. As described here: https://docsv2.dwolla.com/#application-authorization. The response should contain an application access token which can then be used to create Customers and facilitate all calls to our API on behalf of these Customers.

Why do all bank transfers stay pending in the Sandbox?
The Sandbox environment does not replicate any ACH processes, so a pending transfer will not clear or fail automatically after a few business days as it would in production. It will simply remain in the pending state indefinitely. A “Process bank transfers” button is available in the Sandbox Dashboard. This button allows you to simulate bank transfer processing in the Sandbox. Once the button is clicked, Dwolla will process or fail (see below for how-to trigger ACH failures) the last 500 bank transfers that occurred on your Sandbox account or the Access API Customer accounts you manage. Note: If a bank to bank transaction is initiated between two accounts, you’ll want to click “Process bank transfers” twice in order to process both sides of the transaction (debit and credit). Processing for bank transfers will also include initiated micro-deposits. If your application is subscribed to webhooks, notifications will be sent, including all transfer or micro-deposit related events, letting your application know that transfers have processed or failed.