Thanks. I somehow missed that.Skouat wrote:Set the users/groups permissions.
this is not where it unzips to by default, it unzips to "ext_paypal_donation-master"Installation
1.Unpack the package downloaded from Github and copy files to the ext/skouat/ppde directory.
I will test next week.eunaumtenhoid wrote:no compatible with Advanced BBCode Box
help?
Thank you for this report, and you are right.rAdic wrote:this is not where it unzips to by default, it unzips to "ext_paypal_donation-master"
and it does not work so i guess Ihave to manualy change the directory, are you aware of this as many people might not realize this?
Code: Select all
[15-Oct-2016 19:36:17 7200] DEBUG INVALID:
--------------------------------------------------------------------------------
[10/15/2016 7:36 PM] - https://www.sandbox.paypal.com/cgi-bin/webscr ( curl )
--------------------------------------------------------------------------------
HTTP/1.1 200 OK
Date: Sat, 15 Oct 2016 17:36:17 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=YanfMe-hzDlbG9tcFixYcWEjN-9EXtoMKPPwT1q3U8LYHtpqHDbE4wCjTdVTL4v4SMl0qV9illNhjqC55_Of2XSd8g0CCfG-CCMc3tqhKC7EVROKO3FYff7wKs-CqmeHVezXUptz5oHOXi83i5v2wIxOlP6qPLcENihaJC0g64S8rm1Mi7GxqG9GDbdObwWS3w3Uq_iktIK41CD5qU_W6tzWhRR7cFpdYCO9NvC7J4xr_srj17gYfaOgAgfnbxwWI6ub3trwKa6HCAc8h9-njkeSgRxMSUDOfNg9T7H6KC-pF0Fgf0-hfysdAoYvziFiXUo9Fk2JWlCgAW4cBNfYRTneILBrBsRmtghv6Ycc5mgvRyaULxfqoy4nPTTAorGuiktRKo_5TCP9eFscK4Biz4KLI08Y_Bvup4zB4Yi5Y2vAP6ibVAiU508lGOG; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Tue, 13-Oct-2026 17:36:17 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0.0; expires=Mon, 15-Oct-2018 17:36:17 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.72.108.11.1476552977106277; path=/; expires=Mon, 08-Oct-46 17:36:17 GMT
Vary: Accept-Encoding,User-Agent
Connection: close
HTTP_X_PP_AZ_LOCATOR: sandbox.slc
Paypal-Debug-Id: e9a3ebd01429d
Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D292094552%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 15 Oct 2016 18:06:17 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Strict-Transport-Security: max-age=14400
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
INVALID
200
--------------------------------------------------------------------------------
business [email protected]
confirmed
exchange_rate
first_name test
item_name Make a Donation to xxx
item_number uid_2_1476550941
last_name buyer
mc_currency EUR
mc_gross 10.00
mc_fee 0.64
parent_txn_id
payer_email [email protected]
payer_id CHG3QRGAW64WL
payer_status verified
payment_date 10:36:10 Oct 15, 2016 PDT
payment_status Completed
payment_type instant
receiver_id CNUGG6BM9BQB8
receiver_email [email protected]
residence_country DE
settle_amount 0
settle_currency
test_ipn 1
txn_id 9JB246427C154880R
txn_type web_accept
transaction_subject
payment_gross
protection_eligibility Ineligible
verify_sign AonRS5l2W2xlt2An.GaSrAzpCl-NAd7B72Q8bamdlxjuLyFS3lwcoFX6V
tax 0.00
quantity 0
payer_business_name
payment_fee
custom
charset windows-1252
notify_version 3.8
ipn_track_id 52c821cc7eed2
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 647
CALL: skouat\ppde\controller\ipn_listener->log_error()
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 319
CALL: skouat\ppde\controller\ipn_listener->check_response()
FILE: [ROOT]/ext/skouat/ppde/controller/ipn_listener.php
LINE: 160
CALL: skouat\ppde\controller\ipn_listener->validate_transaction()
FILE: (not given by php)
LINE: (not given by php)
CALL: skouat\ppde\controller\ipn_listener->handle()
FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 109
CALL: call_user_func_array()
FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 55
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()
FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
I noticed the charset in my logs wasEnsure that you use the same character encoding for your response string as the encoding specified in the charset field of the original IPN message. When testing using the IPN Simulator, the character encoding will always be UTF-8.
windows-1252
so I had to change the encoding in my facilitator's account. I couldn't find the option in the account settings, this direct link saved me some time: Content-Type: text/html; charset=UTF-8