-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get order reference (Umb 11) #6
Comments
Hmm, interesting, I've recently been porting this over for thew new Umbraco version of Vendr and that seems to have been working fine. I have upgraded all dependencies though so I wonder if upgrading Flurl would fix that? 🤔 |
Hi Matt, Just wanted to drop you a quick update on this. I created a custom payment provider within my project that targetted the .net7 framework. It uses 99% of the code from the original PayPal provider, the only changes really are to account for the updated APIs in the dependencies. I was able to drop a couple of dependencies for There was one 'gotcha' to be careful of, it doesn't throw a build error but it causes issues at run time: On the second line of the Anyway, the callbacks now seem to be working correctly, and orders are being finalized as expected. I've still got some more testing to do but just thought I'd keep you in the loop. |
Hi, Experiencing this issue too. Is the fix going to be brought back from Umbraco Commerce? Thanks |
I'm not sure if the original issue was raised against 2.0.1 beta but looking at the 2.0.1 tagged codebase it is set to use What version are you using using @TQ-Benji ? |
We are using 2.0.1 |
Ok, so I've pushed a v2.0.2-beta0003 build to our unstable feed at https://nuget.outfield.digital/unstable/vendr/v3/index.json I believe this should work around the issue. Unfortunately I don't currently have a PayPal test environment setup so if anyone is able to test it and provide feedback that would be super useful. |
I've basically swapped this bit to construct my own content object passing in the media type which is what appears to be missing in specific .NET versions https://github.com/vendrhub/vendr-payment-provider-paypal/blob/v2/hotfix/2.0.2/src/Vendr.PaymentProviders.PayPal/Api/PayPalClient.cs#L118 |
Hi Matt, that beta looks to be working. Not getting the error anymore |
Hi Matt,
We recently upgraded to Umbraco 11 and our PayPal payment method has stopped working.
When the PayPal checkout flow is complete and the user is redirected back to our site, the order is placed in a kind of limbo state where it's cleared from the current order, but still classed as a cart.
Having checked the logs it seems PayPal is unable to get the order refernece (see error below). I've done some digging and think it could possibly be related to a breaking change introduced in dot net 7, so the jump to Umbraco 11 probably caused that, but I'm not 100% certain just yet.
I've forked a copy of the repo to continue my digging but I thought I'd raise the issue incase it's something you're already aware of and / or have a fix for.
We're using the following versions:
Umbraco: 11.3.1
Vendr: 3.0.11
Vendr.PaymentProviders.PayPal: 2.0.1
Here's the full error:
PayPal - GetOrderReference
As always any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: