barliesque
June 5th, 2009, 08:12 PM
I'm going out of my mind with this, as I know many others have before me. So somebody, please put me out of my misery!!! I am writing a Flash site that needs to send the user to PayPal to pay for content on the site.
Calling navigateToURL(request, "_blank"); produces the following errors/warnings:
Warning: Domain www.paypal.com does not specify a meta-policy. Applying default meta-policy 'all'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem.
Error: Request for resource at https://www.paypal.com/cgi-bin/webscr by requestor from http://mydomain/beta/paypal/PayPalTest.swf is denied due to lack of policy file permissions.
*** Security Sandbox Violation ***
Connection to http://www.paypal.com/cgi-bin/webscr halted - not permitted from http://mydomain/beta/paypal/PayPalTest.swf
I've tried every variation I can think of to lift Flash's lead curtain of security...
Security.allowDomain("http://www.paypal.com/cgi-bin/webscr");
Security.allowDomain("https://www.paypal.com/cgi-bin/webscr");
Security.allowDomain("http://paypal.com/cgi-bin/webscr");
Security.allowDomain("https://paypal.com/cgi-bin/webscr");
Security.allowDomain("http://www.paypal.com");
Security.allowDomain("https://www.paypal.com");
Security.allowDomain("http://paypal.com");
Security.allowDomain("https://paypal.com");
...as well as clear the way with crossdomain.xml...
<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.mydomain" />
<allow-access-from domain="mydomain" />
<allow-http-request-headers-from domain="paypal.com" secure="false" />
<allow-access-from domain="paypal.com" secure="false" />
<allow-http-request-headers-from domain="www.paypal.com" secure="false" />
<allow-access-from domain="www.paypal.com" secure="false" />
</cross-domain-policy>
I've found lots of posts all over the internet of others having similar problems, but no solutions to make communication with PayPal work.
HEEEEELLP!!! :eek:
Calling navigateToURL(request, "_blank"); produces the following errors/warnings:
Warning: Domain www.paypal.com does not specify a meta-policy. Applying default meta-policy 'all'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem.
Error: Request for resource at https://www.paypal.com/cgi-bin/webscr by requestor from http://mydomain/beta/paypal/PayPalTest.swf is denied due to lack of policy file permissions.
*** Security Sandbox Violation ***
Connection to http://www.paypal.com/cgi-bin/webscr halted - not permitted from http://mydomain/beta/paypal/PayPalTest.swf
I've tried every variation I can think of to lift Flash's lead curtain of security...
Security.allowDomain("http://www.paypal.com/cgi-bin/webscr");
Security.allowDomain("https://www.paypal.com/cgi-bin/webscr");
Security.allowDomain("http://paypal.com/cgi-bin/webscr");
Security.allowDomain("https://paypal.com/cgi-bin/webscr");
Security.allowDomain("http://www.paypal.com");
Security.allowDomain("https://www.paypal.com");
Security.allowDomain("http://paypal.com");
Security.allowDomain("https://paypal.com");
...as well as clear the way with crossdomain.xml...
<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.mydomain" />
<allow-access-from domain="mydomain" />
<allow-http-request-headers-from domain="paypal.com" secure="false" />
<allow-access-from domain="paypal.com" secure="false" />
<allow-http-request-headers-from domain="www.paypal.com" secure="false" />
<allow-access-from domain="www.paypal.com" secure="false" />
</cross-domain-policy>
I've found lots of posts all over the internet of others having similar problems, but no solutions to make communication with PayPal work.
HEEEEELLP!!! :eek: