jonkristian
Forum Replies Created
-
I disabled my plugin and switched to the Twenty Nineteen theme but the same thing happens, redirected to a page where it says order cancelled… Pretty sure I’m hitting line 1634 in Vipps.class.php.
But going back to checkout page manually everything is there, so cart is not cleared. Is the user normally not sent back to checkout when he/she hits cancel?
- This reply was modified 5 years, 8 months ago by jonkristian.
- This reply was modified 5 years, 8 months ago by jonkristian.
Hmm, I was wrong. I think maybe I have some template issues, the url that it is returning me to is:
https://site.com/vipps-betaling/?t=50fde90788961826070a9c39d4ce2f760f131hkj01e87041f2fc991kljlkjb924
Also, in the backend on the order the following message:
Bestilling mislyktes eller ble avvist hos Vipps Ordrestatus endret fra Avventer betaling til Kansellert.
I think that whenever a user has reached so far in the process but hit cancel it’s because he/she wants to select another payment option, is it then wise to cancel the order?
- This reply was modified 5 years, 8 months ago by jonkristian.
- This reply was modified 5 years, 8 months ago by jonkristian.
Yes, it does not redirect back to checkout because by then the cart is already emptied (I think) so I have a redirect from checkout on empty cart to products page, which is where I wind up if i hit cancel.
Strange, because only time this happens is with vipps. Guess I need to set up a clean installation and test some more.
Thank you for quick reply!
It’s not using express checkout no.
Session is wiped, what are you calling when a user clicks cancel?
I have a plugin written to work with woocommerce for single product, maybe it’s something to do with that but I am also using it with dibs which this does not happen with. Only time cart is cleared is on woocommerce_add_to_cart_validation, because it needs to clear the cart if a product get’s added, but that’s way before checkout.Sorry for hijacking, but I think this is related. If i currently click cancel on the payment page for vipps, the cart is deleted. Happens in 1.1.12.
Forum: Plugins
In reply to: [Broadcast] Can’t select cpt for custom role and capabilitiesWell I’ve added the cap “edit_posts” to my role, but that didn’t seem to help either.
Forum: Plugins
In reply to: [Nested Pages] Continuing permalink issuesHah, I did not see the link option. I’m using your plugin because it cleans up the interface a lot, especially if you have 50+ pages with multiple levels of nesting. Thanks for quick fix though, perhaps make the link optional and give users ability to deactivate?
Forum: Plugins
In reply to: [Nested Pages] Continuing permalink issues+1 , this is a serious issue.
Why are you even touching anything outside admin?
Forum: Plugins
In reply to: Shortcode functions called twice on page load?Same issue here, with sfc.
Forum: Fixing WordPress
In reply to: Images in pagesYou are probably inserting the image in full, there are some radio buttons in the media popup where you can choose what size to insert.
You can set the desired size under Settings > Media.
Forum: Fixing WordPress
In reply to: No media uploads since upgrading to 3.3.1Can you check if the upload path has been changed?
It happened to me in some occasions.Forum: Hacks
In reply to: Get item of the 2nd level – wp navI see far to many people referring to wp_list_pages() as a solution for this, well it’s not a solution if you want to base your navigation logic on wp_nav_menu. For instance what happens if you put a category as a sub in a page, it will indeed break. I find it strange that this feature hasn’t been/won’t get implemented.
Forum: Fixing WordPress
In reply to: wp_nav_menu: List only 2nd level (separate submenu)?This is pretty cool, hopefully something similar will be included in a future release of WP. But, what about pages/categories that doesn’t have any children, the menu is still printed…
EDIT: There are also a couple of other problems with the initial modification, the li id is included and it outputs an empty ul before the initial list, the empty ul only happens on pages that doesn’t have children though, so we’re back to my first paragraph. ??
Forum: Plugins
In reply to: [Plugin: WP-Piwik] wpmu compatibilityAwesome! Would definitely like to see the ability to choose what kind of stats to show, and maybe re-arrange the list?