Hello,
It seems that I must authorize each Paypal payment via paypal's interface instead of making the transaction an instant one. Is there any way I can actually make it instant without my intervention? I do not want my clients waiting for me to authorize the transaction.
Basically, I get notified by Paypal that I received a payment, and I have to log in to accept the payment.
Is there a way to configure this to just always accept the payments?
Thanks.
BTW here is what I got in my logs.
The first transaction failed. The second also failed but when I manually accepted it at Paypal, it credited it automatically here. Why did it fail here though? What fields MUST match from Paypal to be compared with A2Billing?
[Sat May 5 15:05:07 EDT 2007] paypay_ipn notification
Pending Payment - address
The following data was received from PayPal:
txn_type: web_accept
payment_date: 12:05:00 May 05, 2007 PDT
last_name: xxx
residence_country: US
pending_reason: address
item_name: Credit Purchase
payment_gross:
mc_currency: CAD
business: xxx
payment_type: instant
verify_sign: AYWTR4Gx3S1kI1wXv5WmuotFvLZpAz5wCUkao7A72iYLoOAeVF.neppw
payer_status: verified
tax: 0.00
payer_email: xxx
txn_id: 1MV43932NV736442N
quantity: 1
receiver_email: xxx
first_name: Mxxx
payer_id: xxx
receiver_id: xxx
contact_phone: xxx
item_number: 3949678155
payment_status: Pending
shipping: 0.00
mc_gross: 10.00
custom:
charset: windows-1252
notify_version: 2.1
[Sat May 5 15:28:03 EDT 2007] paypay_ipn notification
Bad order (PayPal says it's invalid)HTTP/1.1 200 OK
Date: Sat, 05 May 2007 19:28:02 GMT
Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
Set-Cookie: cookie_check=yes; expires=Tue, 02-May-2017 19:28:03 GMT; path=/; domain=.paypal.com
Set-Cookie: Apache=xxx.14.1766811783932831; path=/; expires=Mon, 27-Apr-37 19:28:02 GMT
Connection: close
Content-Type: text/html; charset=UTF-8
INVALID
The following data was received from PayPal:
[Sat May 5 15:28:12 EDT 2007] paypay_ipn notification
Bad order (PayPal says it's invalid)HTTP/1.1 200 OK
Date: Sat, 05 May 2007 19:28:12 GMT
Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
Set-Cookie: cookie_check=yes; expires=Tue, 02-May-2017 19:28:12 GMT; path=/; domain=.paypal.com
Set-Cookie: Apache=xxx.14.288181178393292491; path=/; expires=Mon, 27-Apr-37 19:28:12 GMT
Connection: close
Content-Type: text/html; charset=UTF-8
INVALID
The following data was received from PayPal:
[Sat May 5 16:04:50 EDT 2007] paypay_ipn notification
Pending Payment - address
The following data was received from PayPal:
txn_type: web_accept
payment_date: 13:04:40 May 05, 2007 PDT
last_name: xxx
residence_country: US
pending_reason: address
item_name: Credit Purchase
payment_gross:
mc_currency: CAD
business: xxx
payment_type: instant
verify_sign: An5ns1Kso7MWUdW4ErQKJJJ4qi4-AwGuJuFmQ0zbpcR2.Jgw0Kqr3j2P
payer_status: verified
tax: 0.00
payer_email: xxx
txn_id: 2KA66803R0307322W
quantity: 1
receiver_email: xxx
first_name: Mxxx
payer_id: xxx
receiver_id: xxx
contact_phone: xxx
item_number: 3949678155
payment_status: Pending
shipping: 0.00
mc_gross: 10.00
custom:
charset: windows-1252
notify_version: 2.1
[Sat May 5 16:33:30 EDT 2007] paypay_ipn notification
Denied Payment
The following data was received from PayPal:
txn_type: web_accept
payment_date: 12:05:00 May 05, 2007 PDT
last_name: xxx
residence_country: US
item_name: Credit Purchase
payment_gross:
mc_currency: CAD
business: xxx
payment_type: instant
verify_sign: AynlJ2zsmflH.74VEfIBZZJsEArxAVxGnq0g61z8QnSRDem3iMyQaKVA
payer_status: verified
tax: 0.00
payer_email: xxx
txn_id: 1MV43932NV736442N
quantity: 1
first_name: Mxxx
receiver_email: xxx
payer_id: xxx
receiver_id: xxx
contact_phone: xxx
item_number: 3949678155
payment_status: Denied
shipping: 0.00
mc_gross: 10.00
custom:
charset: windows-1252
notify_version: 2.1
[Sat May 5 16:34:52 EDT 2007] Get a request -
payer_id , payment_date , txn_id , first_name , last_name , payer_email , payer_status , payment_type , memo , item_name , item_number , quantity , mc_gross , mc_currency , address_name , address_street , address_city , address_state , address_zip , address_country , address_status , payer_business_name , payment_status , pending_reason , reason_code , txn_type
[Sat May 5 16:34:52 EDT 2007] paypay_ipn notification
This was a successful transaction
The following data was received from PayPal:
payment_date: 13:04:40 May 05, 2007 PDT
txn_type: web_accept
last_name: xxx
residence_country: US
item_name: Credit Purchase
payment_gross:
mc_currency: CAD
business:
[email protected]
payment_type: instant
verify_sign: Ap3-Cvvw.ir3xGVIZlPXPrrixXqjA.NDFomcN437V9ZkoDoieDtkSPRo
payer_status: verified
tax: 0.00
payer_email: xxx
txn_id: 2KA66803R0307322W
quantity: 1
receiver_email: xxx
first_name: Mxxx
payer_id: xxx
receiver_id: xxx
contact_phone: xxx
item_number: 3949678155
payment_status: Completed
payment_fee:
mc_fee: 0.84
shipping: 0.00
mc_gross: 10.00
custom:
charset: windows-1252
notify_version: 2.1