Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

account2account failed transactions #5

Open
krisMoca opened this issue Jul 25, 2022 · 4 comments
Open

account2account failed transactions #5

krisMoca opened this issue Jul 25, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@krisMoca
Copy link

Hi there,

We've been getting quite a few failed transactions when a customer pays via account2account option.

The system throws typeError when & instead of & is passed back from windcave to the site.

image

@mediabeastnz
Copy link
Member

Hi @krisMoca thanks for getting in touch.

This plugin hasn't been tested with the Account2Account feature that Windcave offers. It's likely that there may be additional work required to ensure this plugin and it's dependencies work well with A2A.

Just to help us with investigating a bit more could you please let us know the following:

  • current version of Craft Commerce installed
  • current version of this plugin installed
  • how have you enabled A2A, was this done via Windcave?
  • Does this happen consistently on every transaction that is using A2A?

Thank you

@mediabeastnz mediabeastnz added the bug Something isn't working label Aug 9, 2022
@krisMoca
Copy link
Author

krisMoca commented Aug 9, 2022 via email

@mediabeastnz
Copy link
Member

@krisMoca this can't be resolved within the scope of this plugin. It will actually require an Event hook to be added to Craft Commerce.

This hook would then allow this plugin to tap into the response we get back from Windcave and adjust accordingly.

From what I can see is for some reason the & in the returnUrl is then being encoded to be & but never then decoded.

If we get that event in Craft Commerce I could then apply a fix for this edge case.

You could also Contact Windcave in the meantime to see if it's possible to update their end seeing as PxPay doesn't do this.

@krisMoca
Copy link
Author

krisMoca commented Aug 14, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants