external links - esp. paypal
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 4
- Joined: 08 Mar 2015, 19:37
external links - esp. paypal
Hallo 
Im Konstanten-Editor kann ich theoretisch beeinflussen, wie resp. wo externe Links geöffnet werden (Target for external links[styles.content.links.extTarget]).
Leider scheine ich nicht fähig zu sein, das zu ändern. Habe es mit" _tab" und "_window" probiert, jedoch keine sichtbaren Resultate mit der Paypal-Weiterleitung.
Das Ziel wäre, dass wir den Shop in einem iframe einbinden können. Aus Sicherheitsgründen funktioniert aber im iframe die Weiterleitung auf die Paypal-Seite nicht.
Nun haben wir gedacht, dass es funktionieren könnte, wenn die Weiterleitung einen neuen Tab oder ein neues Fenster öffnet.
Habe es auch mit "config.extTarget = _blank" im Setup probiert.
Besten Dank für Unterstützung!

Im Konstanten-Editor kann ich theoretisch beeinflussen, wie resp. wo externe Links geöffnet werden (Target for external links[styles.content.links.extTarget]).
Leider scheine ich nicht fähig zu sein, das zu ändern. Habe es mit" _tab" und "_window" probiert, jedoch keine sichtbaren Resultate mit der Paypal-Weiterleitung.
Das Ziel wäre, dass wir den Shop in einem iframe einbinden können. Aus Sicherheitsgründen funktioniert aber im iframe die Weiterleitung auf die Paypal-Seite nicht.
Nun haben wir gedacht, dass es funktionieren könnte, wenn die Weiterleitung einen neuen Tab oder ein neues Fenster öffnet.
Habe es auch mit "config.extTarget = _blank" im Setup probiert.
Besten Dank für Unterstützung!
Re: external links - esp. paypal
Hey
Thank you for your question. Would be great if you could write in English so non-German speakers are also able to understand the Q&A
To summarize your question:
First, I would use Firefox's or Chrome's developer tools to change the rendered HTML and insert the "target" attribute for the link manually to see if clicking on that link works as expected. If it does, I can point out the steps to change the template.
Please keep in mind that for PayPals response you need to place the checkout confirm plugin on a page which isn't placed in an iframe.
Thank you for your question. Would be great if you could write in English so non-German speakers are also able to understand the Q&A

To summarize your question:
The plugins use the TYPO3 URI builder to generate the URLs but not the complete HTML links. Thus, setting the extTarget constant won't have any effect as you've already seen but you could overwrite the subpart template to achieve what you are looking for.Is it possible to use the TYPO3 constants to open links generated in the Aimeos web shop components in a new window?
First, I would use Firefox's or Chrome's developer tools to change the rendered HTML and insert the "target" attribute for the link manually to see if clicking on that link works as expected. If it does, I can point out the steps to change the template.
Please keep in mind that for PayPals response you need to place the checkout confirm plugin on a page which isn't placed in an iframe.
Re: external links - esp. paypal
hello all!
So, i hope, my last question...
Paypal:
paypalexpress.AccountEmail
paypalexpress.ApiUsername
paypalexpress.ApiPassword
paypalexpress.ApiSignature
this configuration of mine is okay, i think, but
paypalexpress.PaypalUrl - i don't know
paypalexpress.ApiEndpoint - i don't know
This is my error message after buy-step:
PayPal Express: Request for order ID "9" failed with "Security error"
what have i forgotten to do?
lg and thanx, marksyl
So, i hope, my last question...
Paypal:
paypalexpress.AccountEmail
paypalexpress.ApiUsername
paypalexpress.ApiPassword
paypalexpress.ApiSignature
this configuration of mine is okay, i think, but
paypalexpress.PaypalUrl - i don't know
paypalexpress.ApiEndpoint - i don't know
This is my error message after buy-step:
PayPal Express: Request for order ID "9" failed with "Security error"
what have i forgotten to do?
lg and thanx, marksyl
Re: external links - esp. paypal
They don't need to be set. There are default values for those.marksyl wrote: paypalexpress.PaypalUrl - i don't know
paypalexpress.ApiEndpoint - i don't know
Most likely your credentials or the signature value is not correct in your configuration.marksyl wrote: PayPal Express: Request for order ID "9" failed with "Security error"
what have i forgotten to do?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: external links - esp. paypal
hello!
thanx!
credentials or the signature means this 4:
paypalexpress.AccountEmail
paypalexpress.ApiUsername
paypalexpress.ApiPassword
paypalexpress.ApiSignature
if i take the certificate (maybe this is the problem), is this correct to write this very long key as paypalexpress.ApiSignature?
lg, marksyl
thanx!
credentials or the signature means this 4:
paypalexpress.AccountEmail
paypalexpress.ApiUsername
paypalexpress.ApiPassword
paypalexpress.ApiSignature
if i take the certificate (maybe this is the problem), is this correct to write this very long key as paypalexpress.ApiSignature?
lg, marksyl
Re: external links - esp. paypal
Yes, that's correct.marksyl wrote: credentials or the signature means this 4:
paypalexpress.AccountEmail
paypalexpress.ApiUsername
paypalexpress.ApiPassword
paypalexpress.ApiSignature
The APISignature is rather long, almost 50 chars. If you don't know what's the value for this, please contact the PayPal support. They can tell you where you have to look in your PayPal account for the API Signature value.marksyl wrote: if i take the certificate (maybe this is the problem), is this correct to write this very long key as paypalexpress.ApiSignature?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: external links - esp. paypal
Code: Select all
config.additionalHeaders = Content-Security-Policy: default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'
now it worked... i have to test, but it seems good
thanks lg, marksyl
Re: external links - esp. paypal
You should be aware that some TYPO3 functionality won't work any more as TYPO3 is not prepared to comply with CSP. For example, if you are logged in into the TYPO3 backend and view a frontend page, TYPO3 injects some Javascript code into the page and that won't be executed any more.marksyl wrote:that was deactivited in my typoscript-setup-config...Code: Select all
config.additionalHeaders = Content-Security-Policy: default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'
now it worked... i have to test, but it seems good
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: external links - esp. paypal
hi!
thanx for the tipp...
but it is okay so and the only possibility...?
lg marksyl
thanx for the tipp...
but it is okay so and the only possibility...?
lg marksyl