sono abbastanza sicuro l'unica volta che ci si vede trattamento in oggetto è se si invia un pagamento a un account che non esiste ancora, o se si invia a un conto, se hanno le loro impostazioni configurate per far accettare loro i pagamenti che ricevono.
In tal caso, quando il pagamento ha luogo, avrà uno "status_n" di "non reclamato" e lo stato di pagamento verrà elaborato. Nota che n sarebbe il numero del pagamento nei casi in cui avevi più di 1. Ad esempio, con MassPay. In realtà, ecco un esempio sono stato in grado di trovare nei miei ceppi IPN ...
txn_type = masspay
payment_gross_1 = 1500.00
payment_date = 09:52:38 Dec 23, 2012 PST
last_name = Angell
mc_fee_1 = 1.00
masspay_txn_id_1 = 9N3213015V198645H
receiver_email_1 = [email protected]
residence_country = US
verify_sign = AueDyRcHXo48zG3juE2C-Z801Wi9AhrDKrUI2Dxtkt8T9UVV4DHECvEC
payer_status = verified
test_ipn = 1
payer_email = [email protected]
first_name = Drew
payment_fee_1 = 1.00
payer_id = ATSCG2QMC9KAU
payer_business_name = Drew Angell's Test Store
payment_status = Processed
status_1 = Unclaimed
mc_gross_1 = 1500.00
charset = windows-1252
notify_version = 3.7
mc_currency_1 = USD
unique_id_1 = 3
ipn_track_id = a8817fe5573f3
Questo particolare IPN è stato da una richiesta di pagamento cumulativo che comprendeva solo un singolo ricevitore. È tornato come "elaborato" e "non reclamato" perché il destinatario_email non aveva ancora un account PayPal esistente.
Ecco un IPN separato per una richiesta di MassPay che includeva 3 ricevitori e tutti avevano account, quindi sono tornati tutti come completati.
[payer_id] => ATSCG2QMC9KAU
[payment_date] => 21:37:28 Jan 01, 2013 PST
[payment_gross_1] => 10.00
[payment_gross_2] => 10.00
[payment_gross_3] => 10.00
[payment_status] => Processed
[receiver_email_1] => [email protected]
[receiver_email_2] => [email protected]
[charset] => windows-1252
[receiver_email_3] => [email protected]
[mc_currency_1] => USD
[masspay_txn_id_1] => 53E82259BP7975932
[mc_currency_2] => USD
[masspay_txn_id_2] => 4AS03088H50506411
[mc_currency_3] => USD
[masspay_txn_id_3] => 6A492363UM676994C
[first_name] => Drew
[unique_id_1] =>
[notify_version] => 3.7
[unique_id_2] =>
[unique_id_3] =>
[payer_status] => verified
[verify_sign] => A2Kn5CkYqzBOhX.t-MhTsUEnQbXNAs-mp6LyPmPY1bKAQnyPlKUqiOZN
[payer_email] => [email protected]
[payer_business_name] => Drew Angell's Test Store
[last_name] => Angell
[status_1] => Completed
[status_2] => Completed
[status_3] => Completed
[txn_type] => masspay
[mc_gross_1] => 10.00
[mc_gross_2] => 10.00
[mc_gross_3] => 10.00
[payment_fee_1] => 0.20
[residence_country] => US
[test_ipn] => 1
[payment_fee_2] => 0.20
[payment_fee_3] => 0.20
[mc_fee_1] => 0.20
[mc_fee_2] => 0.20
[mc_fee_3] => 0.20
[ipn_track_id] => e1938454f1e98
non ho il tempo di messa a punto uno scenario in cui l'account non esiste e viene quindi creato ed accettata, ma sono abbastanza certo che ci si effettivamente ottenere un altro IPN che mostra è stato completato.
Per farla breve, mi assicurerei di cercare "completato" come opposto a "elaborato" quando si gestisce l'elaborazione post-pagamento.
fonte
2013-01-02 05:43:23