Comments (10)
What version of Vendr / the Mollie provider are you using?
from vendr-payment-provider-mollie.
from vendr-payment-provider-mollie.
And you definitely have the relevant properties in your orders properties collection?
I can't see anything wrong the code here that copies them over 🤔
from vendr-payment-provider-mollie.
Let me share some more info. We've just upgraded from Vendr 1.8.6 to Vendr 2.0.2. I did a full reinstall, so first removing everything (except for the database). I also removed the files from the App_Plugins
folder. Then I did a reinstall with the new version.
We're using Vendr.Checkout and only have the payment provider for Mollie installed.
Configuration screen:
Then I fill in my order with these details:
And choose Mollie:
And results in this
[MollieApiException: Unprocessable Entity - The following fields of the billingAddress are missing: postalCode, city]
Vendr.Extensions.HtmlHelperExtensions.RenderPaymentForm(HtmlHelper htmlHelper, OrderReadOnly order, IDictionary`2 htmlAttributes, IOrderService orderService, IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, PaymentProviderContextFactory paymentProviderContextFactory, IOrderNumberGenerator orderNumberGenerator, IUnitOfWorkProvider uowProvider, IMembershipHelper membershipHelper) +4106
Vendr.Extensions.HtmlHelperExtensions.BeginPaymentForm(HtmlHelper htmlHelper, OrderReadOnly order, IDictionary`2 htmlAttributes) +213
ASP._Page_App_Plugins_VendrCheckout_views_VendrCheckoutReviewPage_cshtml.Execute() in C:\Projects\KWBN\KWBN\Kwbn.Website\App_Plugins\VendrCheckout\views\VendrCheckoutReviewPage.cshtml:11
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
System.Web.WebPages.StartPage.ExecutePageHierarchy() +86
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
Umbraco.Web.Mvc.ProfilingView.Render(ViewContext viewContext, TextWriter writer) in C:\Git werk\Umbraco sources\Umbraco-CMS\src\Umbraco.Web\Mvc\ProfilingView.cs:25
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +43
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +651
System.Web.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0() +40
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +155
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134
from vendr-payment-provider-mollie.
Hmmm, then I really can't see why this is wrong. Best I could suggest is to pull the source code down locally and compile your own build to debug into the GenerateForm
method and see if the address is indeed being populated and if not, see if the settings are actually getting pulled through and that you have properties on the order with those configured keys.
from vendr-payment-provider-mollie.
For anyone in the future.
Aliasses for Vendr.Checkout
StreetAndNumber is billingAddressLine1
.
City is billingCity
.
Zipcode is billingZipCode
.
from vendr-payment-provider-mollie.
Works now! Thanks for developing this payment provider.
from vendr-payment-provider-mollie.
Ahhh, fantastic. Good spot and glad you got it working.
Just a note (I need to add it to the docs) but when using the Mollie payment provider, you need to make sure you set your store configuration "Order Rounding" to "line" rather than the default "unit".
from vendr-payment-provider-mollie.
@mattbrailsford thanks didn't know that. One more question, off topic.
I set my (local) environment to test. Does that mean that the order isn't processed? I get the success screen from Vendr, but when checking the orders section I don't see my order. I suppose this is because of the test mode?
from vendr-payment-provider-mollie.
@royberris it'll more than likely be the webhooks. Checkout the docs here for how to test the webhook locally https://vendr.net/docs/payment-providers/mollie/2.0.0/mollie-onetime/how-to-guides/testing-mollie-webhooks-locally/
from vendr-payment-provider-mollie.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vendr-payment-provider-mollie.