Stripe - Parameter "source": "" is empty and leads to error

wuschel_lux

Member
Hi all,

additional to the PayPal payment I would like to offer also Stripe...

But here I get following error on the test platform:
Validation failed
There was an internal error reported by the Stripe payment processing servers, please try again later.

When I have a look into the Stripe Logs I fond following:
PHP:
Request-POST-Text
{
  "amount": "15000",
  "currency": "eur",
  "source": "",
  "description": " <b>GOLD Package</b> will be with lodging and 3 times/day meal.",
  "metadata": {    "listid": "2",    "formid": "2",    "rowid": "",    "userid": "132"  }
}

Response-Text
{
  "error": {
    "message": "Invalid source object: must be a dictionary or a non-empty string. See API docs at https://stripe.com/docs'",
    "param": "source",
    "type": "invalid_request_error"
  }
}

I could not find out where the value for source comes from.

I uploaded the code from Github.

Thanks for your help
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top