I am self-hosting v4.4.4. Even though I no longer have a PayPal Express gateway set up (in the settings, I archived the one I had) an online version of a client’s invoice still shows the Pay Now button. Clicking it shows:
Paypal_express: The MAC is invalid.
Is it possible to hide that button altogether? I tried restarting my Apache web server and opening a fresh browser but the button is still there.
That’s odd. I tested by creating a fresh invoice, now that my gateway is archived–same result.
In case it matter, I am testing via the following path:
Log in as myself.
Create invoice.
Save invoice.
View invoice.
Click View in Portal link under the client’s email address.
This opens a new tab with a PDF rendering of the invoice. However, I also copy that URL and use it in a new, Incognito Chrome window, and I still get the Pay Now button.
Is there a place in the settings that I am neglecting to change? The only place I know that could affect this is Advanced Settings | API Tokens, of which I list as having none (anymore).
The key is used to encrypt sensitive data (ie, your payment gateway credentials and bank account number), if the value is changed the app will fail to decrypt the data.
If you need to change the key you can run php artisan ninja:update-key, this sets a new key and re-encrypts the existing data.