[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
 OpenForum.dk • Vis emne - Ny frepay betaling?

Ny frepay betaling?

Danske moduler, eller oversættelser til engelske moduler.

Redaktør: Redaktionen

Indlægaf kepler » 2005-12-19 18:00

kepler
Godt igang
Godt igang
 
Indlæg: 44
Tilmeldt: 2005-06-3 14:51

Indlægaf JakobHK » 2005-12-19 20:16

VH
Jakob Høy Biegel
-------------------------------------------------------------------
www.shopeon.com - automatiser din webshop
Brugeravatar
JakobHK
Moderator
Moderator
 
Indlæg: 267
Tilmeldt: 2003-01-7 13:56
Geografisk sted: Århus

Indlægaf kepler » 2005-12-19 22:04

kepler
Godt igang
Godt igang
 
Indlæg: 44
Tilmeldt: 2005-06-3 14:51

Indlægaf w3 » 2005-12-20 07:35

Lars
Brugeravatar
w3
Moderator
Moderator
 
Indlæg: 1219
Tilmeldt: 2004-10-18 23:15
Geografisk sted: Aulum

Indlægaf JakobHK » 2005-12-20 10:20

VH
Jakob Høy Biegel
-------------------------------------------------------------------
www.shopeon.com - automatiser din webshop
Brugeravatar
JakobHK
Moderator
Moderator
 
Indlæg: 267
Tilmeldt: 2003-01-7 13:56
Geografisk sted: Århus

Indlægaf kepler » 2005-12-20 11:17

kepler
Godt igang
Godt igang
 
Indlæg: 44
Tilmeldt: 2005-06-3 14:51

Indlægaf cfglass » 2005-12-20 17:05

Hej

Har nu modtaget besked fra freepay

De skriver:
Jeg er i dag blevet informeret om, at Freepay ikke længere accepterer komma tal. Beklager meget.

Jeg må bede dig ændre det til ører - husk at ændre indstillingen inde i Freepay

Den sidste kommentar om at ændre i freepay er jeg ikke lige med på

MVH

Christian
cfglass
Godt igang
Godt igang
 
Indlæg: 118
Tilmeldt: 2004-07-21 13:10

Indlægaf schyum77 » 2005-12-22 12:41

Hej

Den sidste kommentar henviser til punktet "Opsætning". Herunder er det muligt at vælge, at man angiver beløb i kr (altså hele kroner uden ører). Dette punkt skal IKKE afkrydses!

Jeg har modificeret to filer i osCom for at understøtte Freepay's nye system..

/includes/classes/currency.php:
Jeg har kopieret en funktion i klassen og renamet den til "calculate_gw(...)" og slettet følgende linie:

if (empty($currency_decimal_point)) $currency_decimal_point = $this->currencies[$currency_type]['decimal_point'];


/checkout_pbscc.php:

Tilføjet et ekstra check for om betalingsgateway er Freepay:

if (MODULE_PAYMENT_PBSCC_GATEWAY == 'DanDomain') {
// order-amount with ',' (eg. 12,99 )
$order_amount = $currencies->calculate($total, true, $order->info['currency'], $order->info['currency_value'], ',','');
} else if ((MODULE_PAYMENT_PBSCC_GATEWAY == 'FreePay')) {
// Freepay doesn't support ',' or '.' any more. Call new function in currency class
$order_amount = $currencies->calculate_gw($total, true, $order->info['currency'], $order->info['currency_value'], '','');
} else {
// order-amount with '.' (eg. 12.99 )
$order_amount = $currencies->calculate($total, true, $order->info['currency'], $order->info['currency_value'], '.','');
}
//The text representation must show iso currencty-symbol
$order_amount_text = $currencies->format($total, true, $order->info['currency'], $order->info['currency_value'], true);
}
schyum77
Novice
Novice
 
Indlæg: 9
Tilmeldt: 2005-06-28 14:09

Indlægaf FLYBY » 2006-01-2 13:57

FLYBY
Novice
Novice
 
Indlæg: 13
Tilmeldt: 2004-08-13 17:07

Indlægaf nbeck » 2006-01-2 14:36

nbeck
Novice
Novice
 
Indlæg: 2
Tilmeldt: 2005-05-18 12:35

Indlægaf schyum77 » 2006-01-4 00:08

Hej

Beklager, kan godt se at min beskrivelse virker lidt indforstået... sorry :oops:

Jeg har vedhæftet filen currencies.php. Filen skal pakkes ud og placeres i /catalog/includes/classes/. HUSK backup eller rename den eksisterende fil!

I filen /catalog/checkout_pbscc.php findes følgende linier:


// load the before_process function from the payment modules
// $payment_modules->before_process();

if ((MODULE_PAYMENT_PBSCC_GATEWAY == 'DanDomain')) {
// order-amount with ',' (eg. 12,99 )
$order_amount = $currencies->calculate($order->info['total'], true, $order->info['currency'], $order->info['currency_value'], ',','');
} else {
// order-amount with '.' (eg. 12.99 )
$order_amount = $currencies->calculate($order->info['total'], true, $order->info['currency'], $order->info['currency_value'], '.','');
}


Disse linier erstattes med følgende:


// load the before_process function from the payment modules
// $payment_modules->before_process();

if ((MODULE_PAYMENT_PBSCC_GATEWAY == 'DanDomain')) {
// order-amount with ',' (eg. 12,99 )
$order_amount = $currencies->calculate($order->info['total'], true, $order->info['currency'], $order->info['currency_value'], ',','');
} else if ((MODULE_PAYMENT_PBSCC_GATEWAY == 'FreePay')) {
// Freepay doesn't support ',' or '.' any more
$order_amount = $currencies->calculate_gw($order->info['total'], true, $order->info['currency'], $order->info['currency_value'], '','');
} else {
// order-amount with '.' (eg. 12.99 )
$order_amount = $currencies->calculate($order->info['total'], true, $order->info['currency'], $order->info['currency_value'], '.','');
}


Dette hack virker på de eshops vi har kørende for vore kunder. Vi benytter lokal betalingsform, derfor kan jeg ikke garantere om hacket virker når formen hentes fra Freepay (relaying).

nbeck
Jeg vil hjertens gerne være behjælpelig med at din shop til at køre. Kan du give lidt flere oplysninger om hvilken fejl du får?
Vedhæftede filer
currencies.zip
(1.37 KiB) Downloadet 219 gange
schyum77
Novice
Novice
 
Indlæg: 9
Tilmeldt: 2005-06-28 14:09

Indlægaf nbeck » 2006-01-7 13:57

nbeck
Novice
Novice
 
Indlæg: 2
Tilmeldt: 2005-05-18 12:35

Foregående

Tilbage til Moduler

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 4 gæster

cron