init-gradle-wrapper.bat will not run on Windows 10

2020-09-25 Thread Georg Potthast
I guess after one of the recent Windows updates the file 
init-gradle-wrapper.bat will not run anymore.


After downloading apache-ofbiz-17.12.04.zip and unpacking it I have problems 
running the init-gradle-wrapper.bat script in an administrator command 
window. I get the message like „The file 
"C:\ofbiz\gradle\init-gradle-wrapper.ps1" cannot be executed - the file 
"C:\ofbiz\gradle\init-gradle-wrapper.ps1" is not digitally signed.


I finally got it to work by changing the executionpolicy in the 
init-gradle-wrapper.bat file from „remotesigned“ to „bypass“:

Powershell.exe -executionpolicy bypass -File gradle\init-gradle-wrapper.ps1



Re: Order Return

2020-09-25 Thread Nameet Jain
Hi Shrilesh K.,

You will need to return a completed order. When you return the Subscription
order, then subscription gets expired.

I was able to locate a wiki doc on Subscription. Hope you find something
from this.
https://cwiki.apache.org/confluence/display/OFBIZ/Subscription


--
Nameet Jain

On Tue, Sep 22, 2020 at 3:59 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> Hi Guys,
>
> when user wants to cancel the subscription, if we trigger order refund flow
> for the corresponding order which would be in status order complete as
> payment would have already been received, will ofbiz automatically trigger
> subscription cancellation?
>
> Regards,
> Shrilesh K.
>