You might look into something like postMessage[1] for passing
information between iframes. Then you can load the payment system or
part of couchapp in an iframe and pass information between them.

Disclaimer: This sort of front end stuff is not my expertise, so I
hope I'm pointing you in the right direction.

[1] https://developer.mozilla.org/en/dom/window.postmessage

On Fri, Nov 5, 2010 at 12:41, couchdb user <[email protected]> wrote:
> Hi Marcus,
>
> the same-domain origin policy is only for javascript, you can have
> your database on CouchOne or Cloudant, and have another server hosting
> your application (PHP, Java, etc).
>
> Unless I misunderstood your email
>
>  Regards,
>
>
>
> On Fri, Nov 5, 2010 at 3:21 PM, Wordit Ltd <[email protected]> wrote:
>> Can anyone confirm this please. There seems to be one limitation to
>> using a CouchDB hosting service like CouchOne or Cloudant. To use
>> online payment systems, or third-party authentication, server-side
>> scripting is required e.g. using PHP.
>> You cannot do these actions on another server because the same-domain
>> origin policy prevents this.
>>
>> Or is there any way to retrieve info like Paypal payments or OpenID
>> authentication on one server and then securely pass that info to the
>> database on the hosting service?
>>
>> Thanks,
>>
>> Marcus
>>
>

Reply via email to