Lukas
Forum Replies Created
-
Forum: Plugins
In reply to: [GoPay for WooCommerce] Checkout s kuponemTaky jsme to řešili a museli jsme udělat hotfix, protože implementovat nový checkout bylo aktuálně nereálné. Pokud by to někoho zajímalo, tak jsme to provedli následovně.
V metodě process_payment je na konci redirect, který redirectuje po vytvoření platby zpátky na checkout. Tam proběhne opětovná validace jednorázového kuponu, která logicky selže, protože už byl aplikován do objednávky.
Hotfixnuli jsme to tak, že redirectujeme na thank you page misto na checkout a na thank you page si handlujeme zobrazení inline brány.Sorry Mikko, but I can’t understand this.
Check my video at the top, posts_per_page is set to 1 (not minus 1) (= 1 “page/post” per page) and I have 2 “posts/pages” in total.
Yes, that is right. Custom post type with this kind of bug is hierarchical.
Good luck with solving this issue.
Thank you Mikko.
We have tried this with pages only for this testing purposes. We have the same problem with custom post types. Is it the same issue?