#pascal-java-validate

1 messages · Page 1 of 1 (latest)

inner gust
#

that's not the right call/API. You do this on attach instead

#

creating a PaymentMethod doesn't cause a card authorization

#

@sturdy elk does that make sense?

sturdy elk
#

We're creating a payment method then creating a customer with that payment method and if we use credit card number 4000000000000002 then it is failing when we create the customer. We've been told to use the validate flag to prevent this call from failing.

#

req_LmekEguva4fBE8 is an example

inner gust
#

yes you need to pass validate: false when you create the customer, not when you create the PaymentMethod

sturdy elk
#

validate doesn't exist in CreateCustomerParams. We're going to try ExtraParameters. We are using the Java SDK and have updated to the latest today.

inner gust
#

correct, this is not a public parameter, that's what your rep likely told you though

#

you have to use extra params

sturdy elk
#

that worked. Thank you koopajah, I don't get to talk to the rep directly so he might have told us that it wasn't public but it didn't make it down to the basement where I live.