Afterpay
Forum Replies Created
-
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Move Afterpay payment infoHi @bantergroupaus,
Thanks for your message.
If the plugin in question is the one found here https://wordpress.org/plugins/code-snippets/, then according to its description it should be able to achieve the desired behaviour. Please note that as it is not possible for the Afterpay team to test every possible combination of theme and plugin in the WordPress ecosystem, the team cannot guarantee the behaviour of 3rd party plugins and how they will interact with the Afterpay plugin.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Move Afterpay payment infoHi @bantergroupaus,
Again thanks for your message.
To show the Afterpay messaging for only a specific category, the below code can be used. This can be added to the
functions.phpfile of the active theme. This file can be found by going toAppearance > Theme Editorin the dashboard and selecting the active theme to edit. When pasting this snippet into the file, replaceYour Category Namewith the name of the category you would like to use.function afterpay_hoipp_callback( $str_html, $product, $price ) { $categories = get_the_terms( $product->get_id(), 'product_cat' ); $show_message = false; foreach($categories AS $category) { if (property_exists($category, 'name') && $category->name == 'Your Category Name') { $show_message = true; break; } } if (!$show_message) { $str_html = ""; } return $str_html; } add_filter( 'afterpay_html_on_individual_product_pages', 'afterpay_hoipp_callback', 10, 3 );This will remove the messaging unless the products are in the category that you would like displayed.
If the site theme is updated, the code *may* need to be added back to
functions.phpfile.Please note that as always when making modifications like this, the Afterpay team recommend testing this in a staging environment first and making sure to take a backup of the site files and database beforehand.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Move Afterpay payment infoHi @bantergroupaus,
Thanks for your messages.
To move the location of the Afterpay paragraph the ‘Set the hook to be used for Payment Info on Individual Product Pages’ setting can be updated. A hook implemented by the site theme in the desired location will need to be found and used. For instance it may be possible to use the
woocommerce_after_add_to_cart_formas long as the theme implements it. Alternatively if the site uses a page builder, the[afterpay_paragraph]shortcode can be applied.To allow Afterpay to be used for a product but change (or hide) the output of the paragraph on the product page the
afterpay_html_on_individual_product_pageshook can be leveraged. An example of this can be found here: https://developers.afterpay.com/afterpay-online/docs/woocommerce-hooksThank you.
Hi @galapogos01,
Thank you for your reply.
Just to reiterate, WooCommerce natively supports the automatic cancellation of pending orders after a set time limit (documentation). Please see the section “Hold Stock (minutes)” which states, “When limit is reached, the pending order is canceled”. The intention, as observed, is to hold the stock for the customer while they pay for their order.
It would not be appropriate for the Afterpay plugin to presume that a customer will not choose a different method to pay for their order if they take too long to return from Afterpay, or return without committing to the payment schedule. It’s also important to consider that some customers take longer than others to complete their payment.
If a customer’s payment is declined by Afterpay, however, their order will not remain in “Pending Payment” status. It will be marked as “Failed” in accordance with WooCommerce recommendations. The Afterpay Order ID will be recorded in the “notes” section of the order view in the WordPress admin.
If there is reason to believe that the Afterpay plugin is not behaving as intended, please do create a dedicated support ticket so that the team can assist with a comprehensive investigation.
Thank you.
Hi @galapogos01,
Thanks again for your response.
Version 3 of the plugin follows the WooCommerce standard flow for payment gateways. Outlined below are the steps involved in that flow:
1. The customer visits the checkout
2. The customer selects their preferred external payment provider and clicks “Place Order”
3. WooCommerce creates an order and redirects the customer to the external payment provider to complete their payment
4. The customer fills in their details and selects relevant options
5. The customer confirms their payment(s) and is redirected back to the store site. It is at this point the order generated in step 2 has its status updated appropriately (processing or complete if successful, failed if declined)If the customer places their order but doesn’t pay for it, then the order will remain in the Pending Payment status. This can occur for a number of reasons such as the Afterpay token expiring (time based expiry) or the customer getting part way through the checkout process and then closing the browser tab / window.
Again this is the flow recommended by WooCommerce for payment gateways as per documentation under managing orders: https://docs.woocommerce.com/document/managing-orders/#understanding-order-statuses-in-relation-to-payment-gateways. This gives the customer the opportunity to attempt payment for the order again, even with another payment method as many times as needed or until the order is cancelled by the store owner (or automatically by the previously mentioned unpaid order setting).
If this is not the behaviour that you are seeing, the team would be happy to assist with an investigation. To facilitate this, please submit a support request using the following web form:
https://help.afterpay.com/hc/requests/new?ticket_form_id=193406A member of the team will then reach out to you within 1 business day.
Thank you.
Hi @galapogos01,
Thanks for your message.
Instead of deleting unpaid orders on behalf of the merchant, the Afterpay plugin follows the WooCommerce recommendation and leaves it to the merchant to follow up with the customer to reduce abandoned orders.
WooCommerce does offer a built-in setting for holding unpaid orders for X minutes before auto canceling them. Documentation for this feature can be found here: https://docs.woocommerce.com/document/configuring-woocommerce-settings/#products-inventory-options
Thank you.
Forum: Reviews
In reply to: [Afterpay Gateway for WooCommerce] Mixing up orders on their and your sitesHi @vahanavagyan1,
Thanks again for your feedback.
Is there anything further that the team can assist with? If all challenges have been resolved, please consider if your rating is still an accurate reflection of your overall experience using the plugin.
Thank you.
Hi @galapogos01,
Thanks for taking the time to review the Afterpay plugin.
The team are always looking for opportunities to improve the experience and are investigating the performance concerns raised.
Thank you
Hi @galapogos01,
Thanks for your message.
The team are investigating the performance concerns raised and will look to provide a backwards compatible improvement in an upcoming release.
Thank you.
Forum: Reviews
In reply to: [Afterpay Gateway for WooCommerce] TerribleHi @bennywelsh,
The support team did not seem to receive a dedicated ticket regarding this issue. Hopefully it has been resolved on your end. If so, the team would love to receive more feedback via an updated review.
Thank you.
Forum: Reviews
In reply to: [Afterpay Gateway for WooCommerce] TerribleHi @bennywelsh,
Thank you for taking the time to provide an honest review of the plugin. It certainly sounds like you’ve had a frustrating experience so far. The team are very interested in remediating this for you.
In order to troubleshoot the challenge, the engineering team have requested more information, such as the versions of the plugin, WordPress and WooCommerce, and access to the website. (Please do not post these details on this public forum.)
Please submit a dedicated support request using the following web form: https://help.afterpay.com/hc/requests/new?ticket_form_id=193406
Please include a reference to this plugin review in your message. A team member will then reach out to you within 1 business day.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] merchant order numberHi @creationgate,
Thanks for your message.
By default, WooCommerce sets the order number to the post id as stored in the database. This can be modified to suit requirements by using the
woocommerce_order_numberfilter. There are a number of third-party plugins available that implement this filter. When an Afterpay payment is confirmed for an order, Afterpay uses the WooCommerce order number to populate the merchant reference in the Afterpay merchant portal.One possible approach would be to use the WooCommerce filter to match the invoice number so that it is synchronised across all platforms, including Afterpay.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Woocommere Blocks CheckoutHi @jellybean18,
Thank you for your message.
Due to the increased demand for this feature, the team has prioritised scoping out the work involved in bringing the Afterpay experience to WooCommerce blocks. Furthermore, the team is actively working with WooCommerce to continually improve the Afterpay offering.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Add Woocommerce Block SupportHi @craftedintime, @seamusashley and @jellybean18,
Thank you all for your messages.
Due to the increased demand for this feature, the team has prioritised scoping out the work involved in bringing the Afterpay experience to WooCommerce blocks. Furthermore, the team is actively working with WooCommerce to continually improve the Afterpay offering.
Thank you.
Hi @zackkie,
Thank you for your message.
It looks like a third-party performance plugin may be changing the filename of the Afterpay script. The filename should be left as is because it is relied on to check for configuration options. To avoid this please block the 3rd party plugin from affecting this script.
If the information above does not pertain to the current challenge, or further assistance is required, the team would be happy to assist with a comprehensive investigation. Please submit a support request using the following web form: https://help.afterpay.com/hc/requests/new?ticket_form_id=193406
Please include a link to this support thread in your request. A member of the team will then reach out to you within 1 business day.
Thank you.