Prepartion of SPW2014 site for testing
sebastien at aperghis.net
Tue Feb 4 23:10:11 CET 2014
Roman Baumer wrote:
> Hallo Sébastien,
> Thank your for putting the site online.
> I'm struggle a litte bit with the payment/invoice part. I had a look at the German Perl Workshop site and saw there a way to produce an invoice.
> On the testing level it seemst to work as well on the spw2014 site, yet on the prod setup it seems to be different. There will be no access to the
> http://act.perl-workshop.ch/spw2014/purchase link and the text "purchase your conference ticket" is missing in the "Edit profile" page.
> I tried different settings in the act.ini, yet I haven't been able to get it working.
> Hopefully you might see something in the logs...
Just fixed that. The reason is that there is a global override config used for the payment, because it's a sensible subject. What I do is to copy the payment_type from the conference's act.ini to that config, once it was confirmed that it was ok to use the requested mechanism. That's especially true for YEF, for which organizers need to arrange with YEF treasurers.
With the time, there are some conferences for which I already know the mechanism they use. In your case, given payment_type was still NONE, I kept it that way.
Note that this is the same in the test environment: there's a global override config, which sets all payment_type to Fake, thus allowing to test the payment process and pages and not actually pay anything.
This is why it's better to avoid altering your act.ini for the test site, because the parameters which matter (mostly, general_full_uri and payment_type) are already overridden in the global config.
Sorry if this wasn't clear.
Close the world, txEn eht nepO.
More information about the Act