Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless support - Clarification #246

Open
amin212121 opened this issue Apr 6, 2022 · 8 comments
Open

Headless support - Clarification #246

amin212121 opened this issue Apr 6, 2022 · 8 comments

Comments

@amin212121
Copy link

amin212121 commented Apr 6, 2022

Describe the bug
Does support Cards payment for PWA? Because now I get error when try use it for PWA

@ghost
Copy link

ghost commented Aug 8, 2022

Hey, this should be working yes. What is the error you see and how can we reproduce it please?

@Morerice
Copy link
Contributor

Hi @amin212121,

Could you please confirm if this is still an issue on your end? We currently have multiple merchants that are using a headless integration with our Shopware6 plugin that have not reported this issue. However if you still have this issue, could you provide some further details?

Thanks,
Jean
Adyen

@amin212121
Copy link
Author

Hey @Morerice thank you. I just asking because didn't find information in documentation about headless and in April I didn't know how to use it but now I understand all. Thx

@amin212121
Copy link
Author

Hey, this should be working yes. What is the error you see and how can we reproduce it please?

all ok. thx you

@amin212121 amin212121 reopened this Dec 2, 2022
@amin212121
Copy link
Author

amin212121 commented Dec 2, 2022

@Suzell and @Morerice hello again.

I want to use RatePay method via Adyen Shopware plugin could you please provide me documentation with rest API how I can do it? Because I can't find :( but you mention Adyen support headless

small info I use PWA but not VUE.js I use React

@amin212121 amin212121 changed the title Does support Cards payment for PWA? Headless support - Clarification Dec 2, 2022
@bitfactory-michel-lubbers

Hi,
I'm using shopware-pwa with adyen.
And I'm trying to get all the payment methods to work.
However when i use ideal I'm not getting the correct view.
It only shows a button with the following messages 'Preautorisatie uitvoeren met undefined'
It is not much saying error.

  • No banks are shown in the view.
    image

Do you have some extra info that i need to look at to get those payments to work correctly?

@peterojo
Copy link
Contributor

peterojo commented Jan 13, 2023

Hi @amin212121 and @bitfactory-michel-lubbers!
Here's some documentation for using headless storefront with our plugin.
TL;DR
Our endpoints in the plugin can provide you with all the extra configuration data for rendering the payment component on your frontend but you do have to render the payment method fields on your frontend. Our recommendation is to use our Web Components for this.
Please read the docs for more info and let us know if you need any further help with this.

@GM-Alex
Copy link

GM-Alex commented Mar 7, 2023

@peterojo It seems broken for payments which redirects the user, like Klarna. Normally the AsynchronousPaymentHandlerInterface::pay method should return the redirect URL to the PSP for example Klarna. I made a pull request for this: #361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants