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 All, I am triying to add Payone as a payment Provider, i have used this guide:
Hi All,
I am triying to add Payone as a payment Provider, i have used this guide: https://documentation.spryker.com/v4/docs/payone-v1-1, I am only using Paypal and CreditCard.
After implementing the guide i now get this JS error, when i am logged in as a customer: As far as i can tell the error comes from this file: yves_default.payone-credit-card.js
logger.ts:86 [yves_default@error] application error -> Error: form-handler failed to be defined Cannot read properties of undefined (reading 'call') at candidate.ts:53 at Generator.throw (<anonymous>) at asyncGeneratorStep (yves_default.app.js:27246) at _throw (yves_default.app.js:27248)
Comments
-
Do u have a component molecule form-handler in ShopUi?
0 -
Yes I do
0 -
I think that the component behind is this one -> https://github.com/spryker-eco/payone/blob/master/src/SprykerEco/Yves/Payone/Theme[…]t/components/molecules/payone-credit-card/payone-credit-card.ts
Right?I don't see any import of form-handler component and any use of it.. Can u maybe post the js (not minified and not chunked) ?
0 -
my file looks excactly like the file in guthub. Attached is the generated one.
0 -
Then maybe the root of the problem is not there... why/how did u say that maybe the js cause the problem?
0 -
when i am logged in i get the js error and that seems to break the whole of js … on listing pages no products can be added to cart and in the checkout process the billing address cant be added so i cant order currently. And i wrote that i think that it is that file because the yves_default where the error is happening is generated from that file. I think.
0 -
ok.. strage.. maybe @UN6T8SEM7 can help u
0 -
thank you
0 -
Which version of the payone package you are using? We use 4.4.0 with only paypal and cc and have no problems
0 -
it looks like i am using version 4.1 ill try to upgrade thank you. I am working on the b2b demo shop if that is relevant
0 -
Thank you @UL65CH0MC and @UK7KBE2JW it was all my fault … it was a caching problem 😞
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random