1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

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

Discussion in 'Community' started by wuschel_lux, Apr 6, 2020.

  1. wuschel_lux

    wuschel_lux Member

    Level: Community
    Hi all,

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

    But here I get following error on the test platform:
    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
     

Share This Page