One response to “My IPN paypal Php script is not working ?”

  1. just "JR"

    You show how you treat the RETURN from PP. I do believe you did not set your message to PP correctly in the first place!
    UNLESS a payment has been completed, PP does not return anything…
    You can use 2 return addresses in your sending form:

    where PPpass is YOUR url for a good transaction and PPfail for these that fail.
    I aslo suggest you use:

    to get a POST reply (the default is a GET reply (visible on the address bar!)
    Personnaly, I prefer to use the same address for the return, and just check a pass-through variable: if that variable is set, I have a successful transaction, else, the transaction failed, or the client cancelled.
    On a successful return, you get:
    [mc_gross] => 0.01
    [invoice] => 4ea15a95f902394110bad3276ed12942 (This is the Session number)
    [protection_eligibility] => None
    [address_status] => unconfirmed
    [payer_id] => something
    [tax] => 0.00
    [address_street] => something
    [payment_date] => 01:22:09 Sep 17, 2008 PDT
    [payment_status] => Completed // success!
    [charset] => windows-1252
    [address_zip] => something
    [first_name] => something
    [mc_fee] => 0.01
    [address_country_code] => something
    [address_name] => something
    [notify_version] => 2.5
    [custom] =>
    [payer_status] => unverified
    [business] => your paypal account
    [address_country] => something
    [address_city] => something
    [quantity] => 1 // single item transaction (total value only)
    [payer_email] => something
    [verify_sign] => AgzGrMUR6U2ibE3cX2Rf97rm6Am-A4SJmG.BD.3PUeec-4-E05coW8BN
    [txn_id] => 9RK972211U493415V
    [payment_type] => instant
    [payer_business_name] => something
    [last_name] => something
    [address_state] => something
    [receiver_email] => something
    [payment_fee] =>
    [receiver_id] => H9D66WUFE8FSS
    [txn_type] => web_accept
    [item_name] => Global Purchase/Payment
    [mc_currency] => EUR
    [item_number] =>
    [residence_country] => xx
    [payment_gross] =>
    [shipping] => 0.00
    [merchant_return_link] => xxx

Incoming search terms:

pligg content management system food addiction, powered by SMF drug and alcohol treatment, pligg content management system global fitness, pligg content management system information on alcoholism, pligg content management system window covering, Powered By Pligg alcohol and drug treatment, pligg content management system currency, pligg content management system small business management software, Powered By Pligg the form, pligg content management system yahoo regional news