Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, after an upgrade to the latest spryker release, we have issues with the paypal payments over pay

Options
UK7KBE2JW
UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet

Hi, after an upgrade to the latest spryker release, we have issues with the paypal payments over payone. In checkout, after placing order, the redirect does not happen. When I debug through the process the correct (external) redirect url to paypal will be set and even the redirect request to this url is correct but the redirect wont happen. Does anyone face similar issues?

Comments

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet
    Options

    Ok, resolved. It happens for development, so the HeadersSecurityEventDispatcherPlugin should not be loaded in dev environment

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet
    Options

    Correct solution would be to add ApplicationConfig to pyz

    protected const HEADER_CONTENT_SECURITY_POLICY_VALUE = 'frame-ancestors \'self\'; sandbox allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation; base-uri \'self\'; form-action \'self\' *.[paypal.com](http://paypal.com)';