I am trying to implement facebook payment in Unity game for Webgl build. It is working fine when I pay as a tester but when I am trying to purcahse by real money it is giving me following error:
XMLHttpRequest cannot load https://apps.secure.facebook.com/ajax/payment/token_proxy.php?tpe=%2Fpayments%2Fcredit_card%2Fmutator%2Fcreate%2F&__a=1. The 'Access-Control-Allow-Origin' header has a value 'https://apps.secure.facebook.com' that is not equal to the supplied origin. Origin 'https://apps.facebook.com' is therefore not allowed access.
What does this mean and how do I solve it?