Skip to content

Stripe payments erroring because of invalid content-type #1006

@jdanna

Description

@jdanna

Expected Behavior

After adding stripe as a provider, attempting to pay an invoice results in an content-type error from stripe.

Current Behavior

Screenshots

IMG_3670
IMG_3671
IMG_3672

Stripe shows errors happened, but doesn’t provide any more detailed logs

Possible Solution

Looks like its related to how omnipay is making the request:

https://stackoverflow.com/questions/66241686/laravel-omnipay-stripe-unable-to-send-request-on-linux/66290005#66290005

I tried modifying the payment handler php to add the headers, but it didn’t work

Steps to Reproduce

-Enable online payments
-Enter stripe keys and enable stripe (i tested with both test mode and live mode keys in stripe - both had the same issue)
-Send an invoice
-Try to pay the invoice with a credit card

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions