adyen-shopware6 icon indicating copy to clipboard operation
adyen-shopware6 copied to clipboard

Headless support - Clarification

Open amin212121 opened this issue 3 years ago • 8 comments

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

amin212121 avatar Apr 06 '22 14:04 amin212121

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

ghost avatar Aug 08 '22 15:08 ghost

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

Morerice avatar Aug 31 '22 07:08 Morerice

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 avatar Sep 01 '22 08:09 amin212121

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

all ok. thx you

amin212121 avatar Sep 01 '22 08:09 amin212121

@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 avatar Dec 02 '22 09:12 amin212121

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?

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.

peterojo avatar Jan 13 '23 13:01 peterojo

@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: https://github.com/Adyen/adyen-shopware6/pull/361

GM-Alex avatar Mar 07 '23 16:03 GM-Alex