Paypal “Access Denied” after submitting form
-
Suddenly Paypal is regecting cformsII with 403 error when the user submits the form from page 2 of the multi-part form:
Access Denied
You don’t have permission to access “/cgi-bin/webscr” on this server.I don’t think this is a cformsII problem but perhaps you may be able to give me a clue as to what you think Paypal may not like.
There are three sites that are currently broken, one of which has been working for 5+ years. Here is one of them:
https://www.sgcpc.org/donations-menu/donations/In cformsII settings:
Core Form:
Send form data: Enable alternative form action is checked
https://www.paypal.com/cgi-bin/webscrLatest version of WordPress, cformsII, theme.
PHP 7.3This is what is sent to Paypal:
REQUEST HEADERS
:authority: https://www.paypal.com
:method: POST
:path: /cgi-bin/webscr
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
cache-control: max-age=0
content-length: 2077
content-type: multipart/form-data; boundary=—-WebKitFormBoundaryfh1WbHX9O6wR9zRS
cookie: KHcl0EuY7AKSMgfvHl7J5E7hPtK=UExkOzO-C6SO73DmSaoWvzetgyOBSlq0zfQCpgb3kmof20ubCTPm3x4vid9mrADzLogU7WjIpTnVbIUg
origin: https://www.sgcpc.org
referer: https://www.sgcpc.org/
sec-fetch-dest: document
sec-fetch-mode: navigate
sec-fetch-site: cross-site
sec-fetch-user: ?1
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36FORM DATA
item_name: General donation
amount: $1
first_name: Paul
last_name: Hartman
address1: 18 1/2 Main Street
city: Baltimore
state: MD
zip: 21212
address_override: 1
email: [email protected]
business: YSDK3DQ74NQT2
cmd: _donations
image_url: https://www.sgcpc.org/wp-content/uploads/2019/01/SG-logo-transparent150.png
return: https://www.sgcpc.org/thank-you/
cf_working7: <span>One moment please…</span>
cf_failure7: <span>Please fill in all the required fields.</span>
cf_customerr7: y
sendbutton7: SubmitThe page I need help with: [log in to see the link]
- The topic ‘Paypal “Access Denied” after submitting form’ is closed to new replies.