Afterpay
Forum Replies Created
-
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Exclude Afterpay from backordersHi @btbau,
Thanks for your question.
The Afterpay plugin currently does not support hiding the message for selective products. However, the following code snippet can help to keep consumers from buying backorder products using Afterpay. It would still show a message though. I.e. “Afterpay is not available for purchasing this item”.
function afterpay_ips_callback( $bool_result, $product ) { if ($product->backorders_allowed()) { $bool_result = false; } return $bool_result; } add_filter( 'afterpay_is_product_supported', 'afterpay_ips_callback', 10, 2 );Thank you.
Hi @kristinubute,
Thanks for your message.
There is a setting called Payment Info on Category Pages on the Afterpay settings page. Once disabled, the Afterpay message will not show on the product grid anymore.
Thank you.
Forum: Reviews
In reply to: [Afterpay Gateway for WooCommerce] Great ImprovementsHi @bmwp,
Thanks very much for taking the time to comment and express your appreciation for the plugin. The team love to hear any feedback that helps us improve or lets us know we’re heading in the right direction.
Thank you.
Hi @photomj,
Thanks for your message.
The team have now been able to log in and investigate further. A test order (#33878) was placed initially via Afterpay, and then proceeded with two different payment methods. The order details page showed the correct payment method every time it was changed. Since it is a production environment, the ‘Payment Declined’ scenario cannot be tested. The team instead tested by abandoning the Afterpay payment and continuing the order with another payment option. In order to test the precise scenario that has been reported, to determine if a WooCommerce Order can be produced that displays an incorrect payment method, a staging instance would be required.
One historical order was identified with the incorrect payment method label (#33285). However, there are no logs for this order. Despite the Afterpay label at the top of the order record, all of the notes on the right are correct, and accurately describe the Klarna payment for the order. No further investigation can be performed due to the absence of logs for that date range.
If the challenge persists, the team would suggest troubleshooting by temporarily deactivating all nonessential plugins (e.g. performance optimization, etc.). Then keep monitoring the transactions for a time; a simpler environment may prove to be beneficial.
Thank you.
Hi @photomj,
The team managed to get a test account with Klarna, and have just tested the scenario in a clean environment, but could not reproduce the issue. The correct payment method name is shown on the order page. Please see the attached screenshot.

At this stage, the best guess would be that some third party plugin (e.g. order management systems) that may have been installed on the website is responsible for this. The team will not be able to assist to find out until they get a chance to access the dashboard and take a look.
Thank you.
Hi @photomj,
Thanks for your message.
The support ticket history was investigated two months ago, and it was found that two instances (one in May 2021, the other in August 2021) were escalated to the engineering team. Both support tickets had been responded to with solutions in a timely manner. However, access to the website was never provided.
The team would be happy to investigate further. To facilitate this, the engineering team would require access to a staging environment where the behaviour can be reliably reproduced. As mentioned in the thread above, Afterpay tokens are unlikely to be a cause of conflict, because they are not easily accessible by third party plugins.
Thank you.
Hi @robadeedoo123,
Thanks for your messages.
Afterpay tokens are recorded in the order notes as plain text messages only. Unlike post meta data, they are not accessible from the order object. This alone is unlikely to prevent other payment methods from finalizing the order, as other plugins cannot easily access the Afterpay tokens in the first place.
Thank you.
Hi @embercide,
Thanks for your message.
Afterpay tokens appearing in the notes of non-Afterpay orders only suggests that the customer attempted to pay for the order via Afterpay at some point. Customers can place an order with one payment method, and end up finalizing it with a different one. It is a WooCommerce’s standard behavior. If the initial payment fails, or the customer just changes their mind before finalizing the payment, they can select a different payment method to complete the order.
Thank you.
Hi @photomj,
Thanks for your message.
The engineering team seem to be unable to reproduce this challenge on a fresh installation of WooCommerce environment. An order declined by Afterpay was then proceeded with a built in payment method (e.g. Direct Bank Transfer), which is shown correctly on the order detail page. The team will try to get a test account with Klarna and see if the described issue can be reproduced.
Thank you.
Forum: Plugins
In reply to: [Eway Payment Gateway] Plugin Conflict with Afterpay- This reply was modified 4 years, 4 months ago by Afterpay. Reason: wrong post
Thanks for your message.
The team would be happy to assist with an investigation. To facilitate this please submit a support request including a link to this post using the following web form: https://help.afterpay.com/hc/requests/new?ticket_form_id=193406
A member of the team will then reach out to you within 1 business day.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Attributes Not Being AppliedHi @rivkadr,
Thanks for your message.
It looks like the prefix ‘data-‘ is missing. Please try again with
data-modal-link-style="learn-more-text".Thank you.
Hi @kwekmiester,
Thank you for your response.
There is no workaround when it comes to multi currency sites as the Afterpay API will only accept orders in the merchant’s settlement currency. Furthermore, third-party plugins that filter the item/cart amounts and currencies do not allow access to the original amounts. Per the previous response the engineering team are looking at ways to better support a multi currency setup via Cross Border Trade in a future release later this month.
Thank you.
Hi @kwekmiester,
Thanks for your message.
This is the intended behaviour. The Afterpay plugin currently does not support any currency switcher, because the Afterpay API does not accept currencies that differ from the merchant settlement currency.
The engineering team is looking to improve the Cross Border Trade experience and better support third party currency switcher plugins in the near future.
Thank you.
Forum: Plugins
In reply to: [Afterpay Gateway for WooCommerce] Afterpay pre-order productsHi @cardsforbards,
Thanks for your message.
Please make sure that it is 3.4.0-beta.2 rather than beta.1 that is downloaded. Also remember to save the Afterpay settings once it has been deployed to the staging environment.
Thank you.