Open dolphinsd opened 5 years ago
Hi, It seems we are having issues returning the correct validation errors for US payments. In this case the error is that the customer you are trying to create a payment for does not have an address set which is mandatory for US payments.
If you update post_code
, country
, city
, region
and address_line_1
with the correct details in the edit view creating the payment should work.
https://manage-sandbox.gocardless.com/customers/CU00076SGBKGYZ/edit
I've also raised a ticket for the relevant engineering team to ensure we start returning these errors correctly ASAP.
PS. The description of the error you have posted includes your sandbox access token. While sandbox will not move money, it being visible means that anyone can make requests for data in your sandbox account. Since we have no way of knowing if the data is sensitive we have to assume it is and as such I have disabled the access token in our system. I apologize for any inconvenience this may cause but the security of your data is our top priority
@danwakefield thanks for an update. yes, your tip worked. another bug we found, that there are no way to simulate mandate for usd account. it says, no resource found when we tried.
@danwakefield , out team suggests that for usd accounts you validate for customer address on CustomerBankAccountCreateRequest
ACH mandates cannot be activated by themselves.
The way they are activated in the real world is that a payment made against the mandate is successful.
If you create a payment linked to the mandate and use the Payment Confirmed
simulator on the payment ID then the mandate will becomes active.
I've created a ticket so we can explore this but we're unable to guarantee if or when it would be completed as it would be a breaking change in how our API behaves.
If you need anymore help with our API our developer support team is available at api@gocardless.com
Simple post payment with a mandate fails.
In Sandbox, post method
Response: