pointspay / pointspay-magento

Pointspay Magento Plugin
0 stars 0 forks source link

Shopify FB+ Test Mode Transaction Cancellation/Refund #3

Open abigail-pointspay opened 5 days ago

abigail-pointspay commented 5 days ago

Plugin: Shopify Flavor: Flying Blue+ Environment: UAT Issue: When test mode is toggled in the FB+ Payment Method, refunds and cancellations are being recorded as "Failed" in ON Payment for all merchants.

teodoramodoranovic commented 3 days ago

Hey @abigail-pointspay

We wanted to let you know that our team has reproduced the issue in our test environment and is currently investigating its root cause.

We will keep you updated as we make progress.

Best regards.

teodoramodoranovic commented 3 days ago

P.S.: I believe this issue should be moved to the Shopify repository, as it is currently in the Magento repository. The issue description specifies that it is Shopify integration.

teodoramodoranovic commented 2 days ago

Hey @abigail-pointspay,

Please note that our team finished the investigation.

The issue is related to the Pointspay API, which returns a 500 status for requests sent to https://uat-secure.pointspay.com/api/v1/refunds. The response received by the integration from the Pointspay API is:

{ "code": "ERR_11026", "message": "Refreshing of user balance failed.", "key": "ERR_11026" }

More details about request and response:

d47b278a-1f54-4960-9b7c-c23373221029

Conclusion: The problem lies not within the Shopify integration itself but with the Pointspay API. AS a result, refunds are marked as FAILED, whether created using the PrestaShop or BigCommerce integrations.

This should be checked by the PP team.

Additionally, we noticed one issue while working on this ticket. The RefundSessionRejected request sent to Shopify has been corrected. Now, after the fix, it is visible on Shopify that the refund attempt failed.

We created a pull request for the mentioned fix: https://github.com/pointspay/pointspay-shopify/pull/3

Best regards.