[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/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - PayPal virker næsten

PayPal virker næsten

Spørgsmål og svar om installation af osCommerce standardpakke.
Problemer med contribution kan indlægges i Contributions.

Redaktør: Redaktionen

PayPal virker næsten

Indlægaf michaelhjulskov » 2009-09-18 16:01

Hejsa jeg har installeret PayPal og den virker således at den videresender til min PayPal konto. men den tager ikke beløbet med??? Skal/kan den ikke det?
Brugeravatar
michaelhjulskov
Godt igang
Godt igang
 
Indlæg: 75
Tilmeldt: 2007-11-22 10:35
Geografisk sted: Aalborg

Re: PayPal virker næsten

Indlægaf michaelhjulskov » 2009-09-18 16:50

Jeg er kommet nærmere...
Det ser ud til at der bare mangler nogle værdier i formularen på checkout_confirmation.php siden.
her ses de:
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="korrektemail@korrektdomæne.dk">
<input type="hidden" name="item_name" value="korrektdomæne.dk">
<input type="hidden" name="amount" value="0">
<input type="hidden" name="shipping" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="http://korrektdomæne.dk/checkout_process.php">
<input type="hidden" name="cancel_return" value="http://korrektdomæne.dk/checkout_payment.php">
<input type="image" src="includes/languages/danish/images/buttons/button_confirm_order.gif" border="0" alt="Bekræft ordre" title=" Bekræft ordre ">

som det fremgår, så er fx amount = 0 og currency=USD og det er jo komplet forkert.

Det ser ud til at være i funktionen process_button() i paypal.php som fejlen opstår. Her er funktionen:

fortsættes....
Brugeravatar
michaelhjulskov
Godt igang
Godt igang
 
Indlæg: 75
Tilmeldt: 2007-11-22 10:35
Geografisk sted: Aalborg

Re: PayPal virker næsten

Indlægaf michaelhjulskov » 2009-09-18 17:22

Brugeravatar
michaelhjulskov
Godt igang
Godt igang
 
Indlæg: 75
Tilmeldt: 2007-11-22 10:35
Geografisk sted: Aalborg

Re: PayPal virker næsten

Indlægaf michaelhjulskov » 2009-09-18 17:35

Brugeravatar
michaelhjulskov
Godt igang
Godt igang
 
Indlæg: 75
Tilmeldt: 2007-11-22 10:35
Geografisk sted: Aalborg

Re: PayPal virker næsten

Indlægaf michaelhjulskov » 2009-09-18 19:17

okay nu fandt jeg fejlen

denne skal rettes :
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) {

til:
if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'DKK'))) {

For Paypal accepterer jo DKK nu. (Det gjorde de sikkert ik i middelalderen hvor dette blev lavet.)
Og den indsatte jo USD, så bliver der multipliceret med 0 hvilket jo altid giver 0 - det var forklaringen

Godtnok et dødt forum herinde.... men så er det heldigt jeg selv fandt ud af det. Sådan er det sommetider meget godt at skulle forklare andre problemet, så finder man sommetider løsningen selv.
Brugeravatar
michaelhjulskov
Godt igang
Godt igang
 
Indlæg: 75
Tilmeldt: 2007-11-22 10:35
Geografisk sted: Aalborg

Re: PayPal virker næsten

Indlægaf mimeini » 2009-09-23 12:37

Hej Michael

Ja det var en lidt lang enetale, jeg er nu glad for at du tog turen det kan jeg meget vel få brug for meget snart. Selv ville jeg ikke være i stand til at hjælpe dig. Nå men jeg vil bare lige tage forumet lidt i forsvar. Det er jo bare nogen som sidder og svarer når de har lyst og det er jo ret ufatteligt synes jeg at der alligevel så ofter kommer et svar på ens spørgsmål når men tænker på hvor kedeligt det egentligt er at sidde og rode med andres probler med et betalingsystem. Jeg synes i hvet tilfælde det har været af umådelig hjælp i min vej med osc. Men tak for din Pay Pal udredning.

Mikkel
mimeini
Godt igang
Godt igang
 
Indlæg: 41
Tilmeldt: 2009-02-25 23:34


Tilbage til Installation og konfiguration

Hvem er online

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

cron