Page MenuHomePhabricator

We need a way to test our payments forms without submitting real donations
Open, Needs TriagePublic

Description

CC'ing @EMartin and @Ppena for payments visibility.

Now that we have a) payments wiki monthly convert and b) a dedicated QA Specialist (@jbolorinos-ctr), it's becoming really clear that we need a solution for testing payments forms without submitting live donations.

I imagine this might take different investigations per payment processor. Starting with Ingenico and Paypal would be great, but it'll show up everywhere we want to receive donations.

Can we prioritize this in Q3, please?

Event Timeline

Thanks for the shoutout Sam! I know it wouldn't be a fully integrated test, but I was hoping we could just get a single view of the monthly convert page to run through some UI tests first, and then once all of those bugs are sorted we can see if there are other way to test the full integration with a test credit card maybe?

I think we have addressed @jbolorinos-ctr 's concerns for the moment.

@spatton there are a few options that could help testing.

easier, short term:
1.) you could use a corporate card and we can IP whitelist more often to get past expensing donations and getting hit with velocity filters.

2.) if anyone testing is more technical, they could build payments wiki locally and use the sandbox accounts for all processors. Those environments have fake test cards and no velocity filters.

More complicated, long term:
We build staging environments that allow less technical users to test but this might still require real cards. This does take more initial effort and maintenance. We'd have to find time to schedule this.

Hey again,

@Ppena brought this up again today. The full staging environment for payments would be a big project and need to be investigated before we could say how hard it is. Also there will be ongoing maintenance requirements. Finally, many processors won't show you exact replicas of production. Some settings and card options are only available on the full production version. We would all have to keep that in mind if anyone used this for testing.

@DStrine do you have an image for a payments wiki I could setup locally? Or where can I find documentation on how to do this on meta?

You will have to ask the rest of fr-tech for more info.

@jbolorinos-ctr to get started you can use the instructions for vagrant on our MediaWiki page. Feel free to reach out on Wikimedia-Fundraising with questions for us!

Thank you! I'm still trying to set this up but thanks so much for meeting with me this week to help. I'll definitely ping you again if I'm still not able to get this up and running by next week