-
Notifications
You must be signed in to change notification settings - Fork 4
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
Autofill Klarna input fields #5
Comments
Ok I figured out the problem. The issue is with following line in KlarnaCheckout.php:
The problem is, at least in my case, that the parent table of "tl_iso_address" is "tl_iso_product_collection" for ALL entries. Changing tl_member to tl_iso_product_collection resolved this issue for me. Actually, I plan to use Address::createForMember. Interestingly, Isotope always refers to tl_member as parent table. Probably that's due to the shop being updated from Contao 3 and the parent table was handled differently? |
When a user saves their address to the address book, the ptable will be tl_member. Otherwise, the ptable is tl_iso_product_collection and the address is not "permanent". I guess we are missing the option "save to address book" in the Klarna checkout. The Isotope checkout, however, can handle this. |
We can, however, render a custom checkbox in the Klarna Checkout iFrame. |
Thank you Richard for the offer, but for now, I'm good to go with a non-permanent solution. The createForMember works well for my purpose. |
Another feature request would be the autofill functionality if a member is logged-in, so the user doesn't need to enter his data every time.
The text was updated successfully, but these errors were encountered: