Hello Markus,

Another way is to use *ngrok* tool, which exposes localhost through http
and https tunnels.
For example we usually use this kind of command from Ubuntu terminal: $
./ngrok http https://localhost:8443

Then you can use http/s tunnels generated by ngrok in the PayPal URL
settings.

Best regards,
Giulio

Il giorno gio 10 feb 2022 alle ore 12:05 Michael Brohl <
[email protected]> ha scritto:

> Hi Markus,
>
> I don't think that this scenario will work with a localhost configuration.
>
> For integration testing with paypal, you will need a setting with a
> domain which is reachable by PayPal. An external server or a DynDNS
> setting with a route to the localhost machine should work.
>
> Best regards,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
>
> Am 10.02.22 um 08:53 schrieb Markus:
> > Hello Ladies and Gentleman,
> >
> > I'm running Ofbiz 18.12.02 in a local installation on localhost in an
> > eCommerce scenario.
> >
> > I like to setup and run the paypal integration for payments properly.
> > The jump to paypal and the processing at paypal works fine. The
> > problem starts in the moment the system jumps back from paypal into
> > the online-shop. After returning from paypal I see following:
> >
> >  * Customer is log'ed out from Ofbiz and has to login again.
> >  * Every order is accepted in Ofbiz independent from Customers decision
> >    in paypal to accept or cancel the payment;
> >  * No order confirmation eMail is sent in case of accepting the payment.
> >
> > Configuration of my paypal payment gateway looks like:
> >
> >    Business Email [email protected]
> >    Api User Name sb-xxxxxxxxxx_api1.business.example.com
> >    Api Password                    Q4UTxxxxxxxxxBKG
> >    Api Signature AwTSxxxxxxxxxxxxX5gFmk3QHxjfkJUtN
> >    Api Environment
> >    Notify Url https://localhost:8443/ecommerce/control/payPalNotify
> >    Return Url https://localhost:8443/ecommerce/control/processorder
> >    Cancel Return URL https://localhost:8443/ecommerce/control/main
> >    Image Url https://localhost:8443/images/ofbiz_logo.gif
> >    Confirm Template                /order/emailconfirmation.ftl
> >    Redirect Url https://www.sandbox.paypal.com/webscr
> >    Confirm Url https://www.sandbox.paypal.com/us/cgi-bin/webscr
> >    Shipping Callback Url
> >    Require Confirmed Shipping      N
> >
> > For me it looks like the session in Ofbiz got lost or was not
> > re-assigned after returning from paypal.    But this is only a guess.
> >
> > Does someone of you have a good idea what can be wrong?
> >
> > I checked the documentation and eMail-lists already ... I appreciate
> > every link to more detailed documentation.
> >
> > Best regards
> >
> > Markus
> >
> >
> >
> >
> >
>


-- 
Giulio Speri


*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it

Reply via email to