05-03-2012, 12:44 AM
tu n'arrives simplement pas à parser le retour paypal ? ils fournissent une doc récise sur ce point il me semble. perso je connais pas, je gère avec paybox, c'est mon collègue qui s'occupait de paypal
Array
(
[mc_gross] => 40.00
[protection_eligibility] => Ineligible
[address_status] => confirmed
[payer_id] => DYGUNA3N6SY5U
[tax] => 0.00
[address_street] => 1 Main St
[payment_date] => 05:03:57 Nov 29, 2011 PST
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => 95131
[first_name] => Test
[mc_fee] => 1.81
[address_country_code] => US
[address_name] => Test User
[notify_version] => 3.4
[custom] => ID_ACHETEUR
[payer_status] => verified
[business] => test1_1318862507_biz@xxx.com
[address_country] => United States
[address_city] => San Jose
[quantity] => 1
[verify_sign] => AgHAqKUXTp2771GpxSWDxAQ6Gq9EA1sCMeztIMxvNbEQBvt36k9TDTUf
[payer_email] => test2_1318862629_per@xxx.com
[txn_id] => 7NX76010DX816421S
[payment_type] => instant
[last_name] => User
[address_state] => CA
[receiver_email] => test1_1318862507_biz@xxx.com
[payment_fee] =>
[receiver_id] => 323AVYJNC567J
[txn_type] => web_accept
[item_name] => MON_PRODUIT
[mc_currency] => EUR
[item_number] =>
[residence_country] => US
[test_ipn] => 1
[handling_amount] => 0.00
[transaction_subject] => ID_ACHETEUR
[payment_gross] =>
[shipping] => 0.00
[ipn_track_id] => UuHsbgbhqpi7eqpcLNjXWg
)
<form class="payment_choice_link" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" value="_s-xclick" name="cmd">
<input type="hidden" value="ID DU JOUEUR" name="custom">
<input type="hidden" value="CLEF DU BOUTON FOURNIT PAR PAYPAL" name="hosted_button_id">
<input class="link" type="submit" value="Acheter">
</form>
Après tu peux l'habiller comme tu le souhaites, j'ai choisi un habillage personnaliser.