PAYONE-GmbH / magento-2

PAYONE Payment Extension for Magento 2
28 stars 59 forks source link

window[c] is not a function error when switching to hosted iframe #278

Closed danisowa closed 4 years ago

danisowa commented 4 years ago

Summary

If i use ajax script everything is working

var request = new PayoneRequest(po_data, po_options);

When i change ajax script to hosted iframe script and change the call like it is described in documentation to:

var request = new Payone.ClientApi.Request(po_data, po_options);

i get an error window[c] is not a function and it is not possible to execute the paypal payment. Any Ideas what could be the reason for this?

edit: just recognized that i have posted in magento-2 tree, this is not a magento-2 problem this is a general problem, but maybe someone has an idea

fjbender commented 4 years ago

Hi,

which documentation are you referring to? Sounds like you're trying to implement the API on your own, and not use the Magento 2 module? This repository is for Magento 2 module issues only. If you're trying to implement the API, please contact the Technical Support Team.

Thanks Florian

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.