Closed DianaLaa closed 2 years ago
Oh, found another one in PaymentClient:
PaymentMethodClient.GetPaymentMethodListAsync
Edit: Nevermind this one, I misread my own code. This one already has the testmode parameter.
Thank you, it seems I have forgotten to add for a lot of the API endpoints. In addition to the endpoints you mentioned above, I'll check all endpoints to make sure we don't miss any.
Do you have a release date in mind for the new version? We're working our way toward a release of our webshop functionality and we're hoping to release that in rwo weeks.
I can always resort to temporarily checking out your code base, because all I really need now is that profileId parameter, which you mentioned you implemented already. (edit: or hack it in myself again of course...) But if I can use the new NuGet package that would be preferable obviously.
If you only need the profileId
parameter I can create a new NuGet package tonight. If you also need the testmode parameter thats missing in a lot of places, it will take longer (next weekend or the weekend after that). Let me know if you need a new release with the profileId
parameter :)
Thanks for the offer! I've decided that since I'm currently overriding some of your classes anyway, I'll do that for the profileId
parameter too, for now. As soon as the new NuGet package is there, I'll upgrade everything in one go :) So no worries, this way I'm not blocked and you can do it whenever suits you best.
I have compared the API reference with the current code and found many more API clients and methods that are currently missing the testmode
parameter. The full list is:
PaymentClient - Cancel payment
CapturesClient - Get capture
CapturesClient - Get captures list
OrderClient - Update order
OrderClient - Update order lines
OrderClient - Cancel order
OrderClient - Get order list
OrderClient - Cancel order lines
OrderClient - Create order refund
OrderClient - Get order refund list
CustomerClient - Create customer
CustomerClient - Delete customer
CustomerClient - Get customer
CustomerClient - Get customer list
CustomerClient - Get customer payment list (also missing profileId)
MandateClient - Get mandate
MandateClient - Get mandate list
MandateClient - Create mandate
MandateClient - Revoke mandate
SubscriptionClient - Get customer subscription list
SubscriptionClient - Get all subscription list
SubscriptionClient - Get subscription
SubscriptionClient - Create subscription
SubscriptionClient - Update subscription
SubscriptionClient - Cancel subscription
SubscriptionClient - Get subscription payment list
ShipmentClient - Get shipment
ShipmentClient - Get shipment list
ShipmentClient - Update shipment
Looks like I have my work cut out for me. I'll focus on the most used clients and methods first.
This is now live in version 2.1.0.11
Wow, that was fast. Great job, thanks!
As discussed, I've looked at my code and am reporting back to let you know which calls still lack the testmode parameter. Currently, I'm manually implementing
IShipmentClient
andIOrderClient
, because the testmode parameter is missing in the following five calls:ShipmentClient.CreateShipmentAsync
OrderClient.GetOrderAsync
OrderClient.CancelOrderAsync
OrderClient.CreateOrderPaymentAsync
OrderClient.CreateOrderRefundAsync
I haven't checked other clients or calls, these are only the five that I've encountered. Kind regards