Changeset 44140 in spip-zone


Ignore:
Timestamp:
Feb 4, 2011, 3:54:01 PM (9 years ago)
Author:
apachot@…
Message:

Et tenir compte de la valeur du montant fixe dans le montant envoyé à l'api !

Location:
_plugins_/transaction
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/transaction/paiement/paypal/paiement.php

    r44125 r44140  
    6060        $confirm = $urlsite.'/'.find_in_path("/paiement/paypal/paiement_paypal_confirmation.php");
    6161        $retourok = $urlsite."/?page=transaction_merci";
    62         $retournok = $urlsite."/?transaction_regret";
     62        $retournok = $urlsite."/?page=transaction_regret";
    6363
    6464        $total = $_SESSION['total'];
  • _plugins_/transaction/traiter/paiement_atos.php

    r44131 r44140  
    2323   
    2424   
     25    if ($_REQUEST['montant_fixe_1']) $_SESSION['total'] = $_REQUEST['montant_fixe_1'];
    2526    if ($_REQUEST['montant_selection_1']) $_SESSION['total'] = $_REQUEST['montant_selection_1'];
    2627    if ($_REQUEST['montant_1']) $_SESSION['total'] = $_REQUEST['montant_1'];
  • _plugins_/transaction/traiter/paiement_cmcic.php

    r44111 r44140  
    4242        }
    4343   
     44    if ($_REQUEST['montant_fixe_1']) $_SESSION['total'] = $_REQUEST['montant_fixe_1'];
    4445    if ($_REQUEST['montant_selection_1']) $_SESSION['total'] = $_REQUEST['montant_selection_1'];
    4546    if ($_REQUEST['montant_1']) $_SESSION['total'] = $_REQUEST['montant_1'];
  • _plugins_/transaction/traiter/paiement_paybox.php

    r44131 r44140  
    2323   
    2424   
     25    if ($_REQUEST['montant_fixe_1']) $_SESSION['total'] = $_REQUEST['montant_fixe_1'];
    2526    if ($_REQUEST['montant_selection_1']) $_SESSION['total'] = $_REQUEST['montant_selection_1'];
    2627    if ($_REQUEST['montant_1']) $_SESSION['total'] = $_REQUEST['montant_1'];
  • _plugins_/transaction/traiter/paiement_paypal.php

    r44123 r44140  
    2323   
    2424   
     25    if ($_REQUEST['montant_fixe_1']) $_SESSION['total'] = $_REQUEST['montant_fixe_1'];
    2526    if ($_REQUEST['montant_selection_1']) $_SESSION['total'] = $_REQUEST['montant_selection_1'];
    2627    if ($_REQUEST['montant_1']) $_SESSION['total'] = $_REQUEST['montant_1'];
Note: See TracChangeset for help on using the changeset viewer.