Set Payment Processor Test Mode from URL argument

Created on 13 October 2020, over 3 years ago
Updated 3 December 2023, 7 months ago

1.0 Problem/Motivation
There is an option to set the Payment Processor into Test mode when configuring the Contribution. I have tried this with Stripe, and it's fine.

What I would like is the ability also to set Test mode from the URL, say with an argument such as '?contrib=test'. This would enable me to run regression tests for alterations made to the live site without having to take it out of service to change the configuration parameter, with the inconvenience and risk of error involved.

I am happy to have a go at producing a suitable patch, but have no idea where or how the setting of the configuration parameter is passed to Stripe. If someone could recommend a suitable place to try amending the code that would be very helpful.

✨ Feature request
Status

Closed: won't fix

Version

5.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024