There was an error processing your payment [0]. Please try again later. Message: Security header is not valid

Hi all,

I just created an account, added some clients and a Paypal gateway.

I sent my first invoice but when the client tried clicking on “Paypal” to pay, they get the following error:

"There was an error processing your payment [0]. Please try again later.Message:

  • Security header is not valid."

I checked the gateway logs and this is what I see:

"server_response: “Security header is not valid”

data:Object

invoices: Array<Object[1]

credits: 0

amaunt_with_fee: 1000

amount: 1000"

What could possibly be causing this? Do I need something else in addition to Paypal?

Hi,

A common cause for this error is using test credentials with test mode disabled or production credentials with test mode enabled.