Getting Error 400: Your request was malformed. 'bad_request' while creating customer on Paddle Billing #1021
Unanswered
inventionsbyhamid
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It's likely the customer already exists when trying to create it on Paddle. See issue #1009 as we are working to introduce nicer error messages for this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for the excellent library. I am already using it with Stripe. Now adding support for Paddle Billing. I am creating a customer on Paddle to pass data-customer-id to the Paddle Checkout button using below code. I am encountering an error
Pay::PaddleBilling::Error (Error 400: Your request was malformed. 'bad_request'):
current_user.set_payment_processor :paddle_billing
current_user.payment_processor.customer
Environment:
I have a pricing page where I want to show both the options, Pay with stripe or Pay with Paypal (Paddle).
I am testing in Paddle sandbox and have the necessary env variables setup.
PADDLE_BILLING_ENVIRONMENT=sandbox
PADDLE_BILLING_API_KEY=hidden
PADDLE_BILLING_CLIENT_TOKEN=hidden
PADDLE_BILLING_SIGNING_SECRET=hidden
I might be missing something i feel, have followed whatever Paddle docs are there in pay and official Paddle dev docs.
Beta Was this translation helpful? Give feedback.
All reactions