Hi, I am testing the trial version of StripeDirect, it works OK, nice job.
I found a missing feature that could be added.
When I use Authorize and a separate Capture, the order number gets updated in Stripe's system. It is OK.
But when change to "Authorize and Capture" there is no Order number in Stripe's system, just a transaction number, it would be a nightmare for my bookkeper to pair these with my order numbering. I understand that the Order number is not available in Nopcommerce at that point when the payment is made. It gets assigned only at the last step of the checkout process.
So I suggest, you add a 'PostProcessPayment' function in the Paymentprocessor class of the Plugin (this function gets called by Nopcommerce when the order has been fully processed, the order number is available at as postProcessPaymentRequest.Order.Id at this time) and call Stripe API's 'update' function to update the order_id parameter in their system, so we will have the Order numbers also with 'Authorize and Capture' payments in Stripe's Dashboard and all the Reports.
Did you create the Webhook from plugin configure page (copy webhook secret key back from Strip admin mode too)? Plugin uses webhook and it has to change the payment description... Please check and write me.
>So I suggest, you add a 'PostProcessPayment' function in the Paymentprocessor class of the Plugin (this function gets called by Nopcommerce when the order has been fully processed, the order number is available at as
Thank you for this idea. I forget about it.... i used the webhook bit I can change the payment description in this method...
Yes I have generated the webhook and entered the signing secret also. I am used Stripe's testing area, but I don't think it behaves differently from the real one.
No, even after 20 minutes there is a pi_thyetrherhe... number there, but no real Order number.
One more question when I use this Direct method, there is a div element on my webshop's html page that gets the card number written into. So I am theoretically able to collect these with a small javascript when these gets entered. (Don't get me wrong, I am not doing this) But if I am able to do this, isn't there a more severe PCI compliance requirement from Stripe?
We have been to this already with PayPal Pro it is a nightmare which I would like to avoid, plase confirm what are the requirements to be able to use the Direct method or should I sttick with the hosted version only?
Thank you, it works now, the order No gets immediately updated. (I'm glad I could contribute to this improvement with my idea :-) Have you done the same upgrade to the hosted version also? (I have not tested that before).