[00:00:33] hmm i get a pop up window that says There was an error processing your request. [00:00:36] and hopefully an iframe should open with card details fields [00:00:41] do i need other credentials somewhere? [00:00:45] oh, can you look at the syslog? [00:01:06] where would that be [00:01:06] I think that's where the error details will be [00:01:11] /var/log/syslog [00:01:19] ah haha where it should be ok [00:01:21] i think you can grep for ingenico [00:06:33] ok found it looks like the error is MISSING_OR_INVALID_AUTHORIZATION [00:06:54] ok, so let's see what you've got for creds [00:07:12] did you copy a file down from the settings repo's payments-wiki-testing folder? [00:07:21] (settings repo on frpm1001) [00:07:49] no maybe that was the step we stopped at last time because i didnt have the yubikey? [00:07:52] (and just to belabor the point, the payments-wiki-testing creds are probably the only file we should ever copy down) [00:08:03] Aha, ok, so that's a good next step [00:08:11] you know how to use scp? [00:08:33] i do not [00:08:53] ok, it's a way to copy files over ssh [00:09:01] ok i googled a tutorial [00:09:03] too [00:09:43] so on frpm1001, have you already cloned the settings repo to your homedir? [00:10:28] i think so, is that the localsettings folder? [00:10:32] yep! [00:10:38] yep that is there [00:11:38] oh is it the 20-DI file in the payments-wiki-testing? [00:11:47] exactly! [00:12:10] you'll want to copy that to settings.d/wikis/paymentswiki/settings.d inside your vagrant folder [00:16:48] ok so i did that but I am still getting that error [00:16:59] hmm, want to screenshare? [00:17:40] sure just a sec, is there supposed to be one named ingeico in the settings file, I only see references to golbalcollect [00:17:48] ohhhhh! [00:17:53] sorry, i totally forgot [00:18:13] ingenico is the brave new world where smashpig keeps all the credentials [00:18:19] ahhh [00:18:19] hehehe [00:18:23] quality cruft [00:18:23] one more sandbox file to copy down [00:18:39] haha ok [00:18:48] so, smashpig has a config dir in /etc/smashpig [00:19:05] globalcollect was a better name. wtf does ingenico mean? [00:19:11] that should exist with at least a main.yaml file [00:19:21] haha cwd, freal [00:20:09] ok i see main.yaml [00:20:29] ok, so each processor can have its own subdir of that configuration directory [00:20:39] so far those directories also just have a main.yaml [00:20:55] ok there is adyen and paypal [00:20:57] but the idea is to eventually move all the yaml files from the donationinterface config dirs [00:21:01] ahh [00:21:27] ok, cool. so you'll want to make a dir for ingenico [00:22:31] then copy the main.yaml from the localsettings/SmashPig/sandbox-config/ingenico [00:23:51] (CR) XenoRyet: [C: +2] "Looks good, looks to be working locally." [wikimedia/fundraising/SmashPig] - https://gerrit.wikimedia.org/r/485995 (https://phabricator.wikimedia.org/T214436) (owner: Ejegg) [00:24:19] (Merged) jenkins-bot: Sequence generator interface & classes [wikimedia/fundraising/SmashPig] - https://gerrit.wikimedia.org/r/485995 (https://phabricator.wikimedia.org/T214436) (owner: Ejegg) [00:26:15] ok cool that is there, do I need to restart vagrant or something to have the settings take effect? [00:26:37] nope, SmashPig is dumb and re-reads the settings every request [00:27:05] err, i mean SmashPig doesn't cache [00:27:19] on purpose! [00:27:19] haha [00:27:40] we're reading like a million php files anyway, what's a couple more settings files [00:27:58] computers are fast [00:28:15] specially with solid state everything [00:28:28] but i don't see any reaosn we shouldn't switch to FPM and enable some statefulness of shared resources [00:29:20] huh? apache mod php does some caching if you ask it to, right? what extra statefulness does fpm give? [00:30:04] what i mean is APC works in apache mod php [00:30:21] well fpm runs as a daemon [00:30:28] instead of exiting with apache every request [00:30:35] so it can leave more stuff loaded between requests [00:31:04] hmm it still gives me the same error [00:31:12] cstone: oh phooey! [00:31:56] so we could do a screenshare, or you could just debug through the request [00:32:26] yeah I see this now Creating a new adapter of type: [Ingenico] [00:32:46] I'm going to have to go soon too [00:32:52] OK. [00:33:08] The relevant line in DonationInterface would be ingenico.adapter.php line 191 [00:33:57] then you'd step into the SmashPig code to see if the Authenticator object is getting the right info in its constructor [00:34:35] ok cool [00:35:09] (vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Authenticator.php if you want to set the breakpoint in there) [00:38:54] ok thanks! I'll take a look again when I get back [00:39:26] have a good weekend [00:40:03] you too! [01:20:27] Fundraising Sprint A series of unfortunate event handlers, Fundraising Sprint Bert and Ernie's Excellent Adventure, Fundraising Sprint Casino Royale With Cheese, Fundraising Sprint Window dressing is mostly olive oil, and 5 others: Ingenico Connect hosted c... - https://phabricator.wikimedia.org/T210893 [22:52:22] PROBLEM - check_puppetrun on frdb1001 is CRITICAL: CRITICAL: Puppet has 1 failures. Last run 9 minutes ago with 1 failures. Failed resources (up to 3 shown): Package[mariadb-client] [22:57:22] PROBLEM - check_puppetrun on frdb1001 is CRITICAL: CRITICAL: Puppet has 1 failures. Last run 14 minutes ago with 1 failures. Failed resources (up to 3 shown): Package[mariadb-client] [23:02:22] RECOVERY - check_puppetrun on frdb1001 is OK: OK: Puppet is currently enabled, last run 4 minutes ago with 0 failures [23:40:53] Wikimedia-Fundraising-Banners, MediaWiki-extensions-CentralNotice: POTY banners are causing client side error during banner display on mobile - https://phabricator.wikimedia.org/T215711 (Jdlrobson) [23:40:59] Wikimedia-Fundraising-Banners, MediaWiki-extensions-CentralNotice: POTY banners are causing client side error during banner display on mobile - https://phabricator.wikimedia.org/T215711 (Jdlrobson) p:Triage→High [23:43:06] Wikimedia-Fundraising-Banners, MediaWiki-extensions-CentralNotice: POTY banners are causing client side error during banner display on mobile AND desktop - https://phabricator.wikimedia.org/T215711 (Jdlrobson)