Adding Ogone payment plugin
This commit is contained in:
parent
1f3b382208
commit
489313a0b9
7 changed files with 1307 additions and 10 deletions
|
|
@ -1,5 +1,6 @@
|
|||
7.7.7
|
||||
- rfe #10061: Use email as username at registration
|
||||
- Added Ogone payment plugin ( Martin Kamerbeek / Oqapi )
|
||||
|
||||
7.7.6
|
||||
- Added mobile style template. If enabled in settings, will serve alternate style templates
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ versions. Be sure to heed the warnings contained herein as they will
|
|||
save you many hours of grief.
|
||||
|
||||
|
||||
7.7.7
|
||||
--------------------------------------------------------------------
|
||||
* WebGUI now requires Digest::SHA.
|
||||
|
||||
7.7.6
|
||||
--------------------------------------------------------------------
|
||||
* WebGUI now requires Business::Tax::VAT::Validation.
|
||||
|
|
|
|||
|
|
@ -27,23 +27,23 @@ use WebGUI::Asset;
|
|||
my $toVersion = '7.7.7';
|
||||
my $quiet; # this line required
|
||||
|
||||
|
||||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
addOgoneToConfig( $session );
|
||||
addUseEmailAsUsernameToSettings( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about... " unless $quiet;
|
||||
# # and here's our code
|
||||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
sub addOgoneToConfig {
|
||||
my $session = shift;
|
||||
print "\tAdding Ogone payment plugin..." unless $quiet;
|
||||
|
||||
$session->config->addToArray('paymentDrivers', 'WebGUI::Shop::PayDriver::Ogone');
|
||||
|
||||
print "Done\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addUseEmailAsUsernameToSettings {
|
||||
|
|
@ -51,10 +51,10 @@ sub addUseEmailAsUsernameToSettings {
|
|||
print "\tAdding webguiUseEmailAsUsername to settings \n" unless $quiet;
|
||||
|
||||
$session->db->write("insert into settings (name, value) values ('webguiUseEmailAsUsername',0)");
|
||||
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue