TS: Paypal Test Buttons
Most recent entry in database table paypal_transactions:
Array ( [0] => Array ( [id] => 1926 [PayerName] => Jonathan Doerksen [PayerEmail] => jon@ccmfg.ca [WordpressUserID] => 0 [PaymentToken] => 11111111 [TransactionID] => 2GB37946LC184740X [TransactionTotal] => 999.00 [TransactionDate] => 2025-02-18 20:08:33 [TransactionStatus] => Completed [TeamID] => 0 [EventID] => 16853 [TransactionType] => donation [ItemName] => Heart & Stroke Foundation [DonationToTeam] => 17642 ) )
Most recent entry in database table logs appears at the end of this page
Here are working examples of paypal buttons. The example does not let you choose the team or event. They work with the paypal sandbox. A fake buyer paypal account can be used to make a fake payment to test the process through to the end. The button will bring the buyer to sandbox.paypal.com where the user can login as a buyer: patrick@ironmancurling.com pwd: curlingFun98
========================================================================
Heart and Stroke Foundation DONATION========================================================================
Ironman Outdoor Curling Registration========================================================================
Most recent entry in database table logs:
Array ( [0] => Array ( [id] => 2056 [post] => {"mc_gross":"999.00","protection_eligibility":"Eligible","address_status":"unconfirmed","payer_id":"DMJK6TP7TZNH6","address_street":"1556 Leclaire Road","payment_date":"18:08:24 Feb 18, 2025 PST","payment_status":"Completed","charset":"windows-1252","address_zip":"R5A 1G4","first_name":"Jonathan","mc_fee":"29.27","address_country_code":"CA","address_name":"Jonathan Doerksen","notify_version":"3.9","custom":"{\\\"WordpressUserID\\\":0,\\\"PaymentToken\\\":\\\"11111111\\\",\\\"TeamID\\\":\\\"0\\\",\\\"EventID\\\":\\\"16853\\\",\\\"TransactionType\\\":\\\"donation\\\",\\\"Charity\\\":\\\"Heart & Stroke Foundation\\\",\\\"DonationToTeam\\\":17642}","payer_status":"unverified","business":"money@ironmancurling.com","address_country":"Canada","address_city":"St. Germain South","quantity":"1","verify_sign":"AtUEZ4PHd7DXjfYpXPBhufK.s9jVAxwEsa0gEivfJLAFBPq8jvqIKN4q","payer_email":"jon@ccmfg.ca","txn_id":"2GB37946LC184740X","payment_type":"instant","last_name":"Doerksen","address_state":"MB","receiver_email":"money@ironmancurling.com","payment_fee":"","shipping_discount":"0.00","insurance_amount":"0.00","receiver_id":"EFZS8HYYQWEM2","txn_type":"web_accept","item_name":"Charity Donation","discount":"0.00","mc_currency":"CAD","item_number":"","residence_country":"CA","receipt_id":"4089-9227-1169-2070","shipping_method":"Default","transaction_subject":"{\\\"WordpressUserID\\\":0,\\\"PaymentToken\\\":\\\"11111111\\\",\\\"TeamID\\\":\\\"0\\\",\\\"EventID\\\":\\\"16853\\\",\\\"TransactionType\\\":\\\"donation\\\",\\\"Charity\\\":\\\"Heart & Stroke Foundation\\\",\\\"DonationToTeam\\\":17642}","payment_gross":"","ipn_track_id":"f95171099a911"} [get] => [] [eventid] => 16855 ) )POST breaks down as:
Array ( [mc_gross] => 999.00 [protection_eligibility] => Eligible [address_status] => unconfirmed [payer_id] => DMJK6TP7TZNH6 [address_street] => 1556 Leclaire Road [payment_date] => 18:08:24 Feb 18, 2025 PST [payment_status] => Completed [charset] => windows-1252 [address_zip] => R5A 1G4 [first_name] => Jonathan [mc_fee] => 29.27 [address_country_code] => CA [address_name] => Jonathan Doerksen [notify_version] => 3.9 [custom] => {\"WordpressUserID\":0,\"PaymentToken\":\"11111111\",\"TeamID\":\"0\",\"EventID\":\"16853\",\"TransactionType\":\"donation\",\"Charity\":\"Heart & Stroke Foundation\",\"DonationToTeam\":17642} [payer_status] => unverified [business] => money@ironmancurling.com [address_country] => Canada [address_city] => St. Germain South [quantity] => 1 [verify_sign] => AtUEZ4PHd7DXjfYpXPBhufK.s9jVAxwEsa0gEivfJLAFBPq8jvqIKN4q [payer_email] => jon@ccmfg.ca [txn_id] => 2GB37946LC184740X [payment_type] => instant [last_name] => Doerksen [address_state] => MB [receiver_email] => money@ironmancurling.com [payment_fee] => [shipping_discount] => 0.00 [insurance_amount] => 0.00 [receiver_id] => EFZS8HYYQWEM2 [txn_type] => web_accept [item_name] => Charity Donation [discount] => 0.00 [mc_currency] => CAD [item_number] => [residence_country] => CA [receipt_id] => 4089-9227-1169-2070 [shipping_method] => Default [transaction_subject] => {\"WordpressUserID\":0,\"PaymentToken\":\"11111111\",\"TeamID\":\"0\",\"EventID\":\"16853\",\"TransactionType\":\"donation\",\"Charity\":\"Heart & Stroke Foundation\",\"DonationToTeam\":17642} [payment_gross] => [ipn_track_id] => f95171099a911 )CUSTOM breaks down as:
Array ( [WordpressUserID] => 0 [PaymentToken] => 11111111 [TeamID] => 0 [EventID] => 16853 [TransactionType] => donation [Charity] => Heart & Stroke Foundation [DonationToTeam] => 17642 )TeamID: 0