Neil Thompson
asked on
new to using paypal, how do i unscramble the response to use it (array)
Hi
I have the following back from a test account on paypal (to my thanks screen) that I need to show to the screen once I have assigned all the values so I can use them further.
How can I assign all these details? such as $address_status = "Confirmed";
Received in POST:
Array (
[mc_gross] => 23.00
[address_status] => confirmed
[payer_id] => 3NKQLU6E3EZSE
[tax] => 0.00
[address_street] => 1 Main Terrace
[payment_date] => 08:32:04 Feb 06, 2008 PST
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => W12 4LQ
[first_name] => Test
[mc_fee] => 0.98
[address_country_code] => GB
[address_name] => Test User
[notify_version] => 2.4
[custom] =>
[payer_status] => unverified
[business] => seller_12345678_biz@oo.co. uk
[address_country] => United Kingdom
[address_city] => Wolverhampton
[quantity] => 1
[payer_email] => buyer_12345678_per@oo.co.u k
[verify_sign] => AD.L88w6CWWRLla.LGjSd5TEdc kcAs618e6H wKTs6MYRFc 1NTShXZU-S
[txn_id] => 6JS45861RR518822H
[payment_type] => instant
[last_name] => User
[address_state] => West Midlands
[receiver_email] => seller_12345678_biz@oo.co. uk
[payment_fee] =>
[receiver_id] => FFVMDPCCZ7ULA
[txn_type] => web_accept
[item_name] => ewqe
[mc_currency] => GBP
[item_number] => 2
[residence_country] => GB
[test_ipn] => 1
[payment_gross] =>
[shipping] => 0.00
[merchant_return_link] => Complete my order
)
I have the following back from a test account on paypal (to my thanks screen) that I need to show to the screen once I have assigned all the values so I can use them further.
How can I assign all these details? such as $address_status = "Confirmed";
Received in POST:
Array (
[mc_gross] => 23.00
[address_status] => confirmed
[payer_id] => 3NKQLU6E3EZSE
[tax] => 0.00
[address_street] => 1 Main Terrace
[payment_date] => 08:32:04 Feb 06, 2008 PST
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => W12 4LQ
[first_name] => Test
[mc_fee] => 0.98
[address_country_code] => GB
[address_name] => Test User
[notify_version] => 2.4
[custom] =>
[payer_status] => unverified
[business] => seller_12345678_biz@oo.co.
[address_country] => United Kingdom
[address_city] => Wolverhampton
[quantity] => 1
[payer_email] => buyer_12345678_per@oo.co.u
[verify_sign] => AD.L88w6CWWRLla.LGjSd5TEdc
[txn_id] => 6JS45861RR518822H
[payment_type] => instant
[last_name] => User
[address_state] => West Midlands
[receiver_email] => seller_12345678_biz@oo.co.
[payment_fee] =>
[receiver_id] => FFVMDPCCZ7ULA
[txn_type] => web_accept
[item_name] => ewqe
[mc_currency] => GBP
[item_number] => 2
[residence_country] => GB
[test_ipn] => 1
[payment_gross] =>
[shipping] => 0.00
[merchant_return_link] => Complete my order
)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.