hosted payment page : paypal'ish

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

hosted payment page : paypal'ish

africa4you
Hi

I am doing an integration to a hosted payment page which operates in a similar vein to PayPal and need a little assistance.

As per PayPal we specify a Return URL, Cancel URL and Image URL which are sent as url parameters in the redirect.

# Portal Universe Return URL
payment.portaluniverse.return=https://xxx-xxxx.dyndns.biz:8443/a4u-ecommerce/control/portalUniverseNotification

# Portal Universe Cancel URL
payment.portaluniverse.cancel=http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal

# Image To Use On Portal Universe
payment.portaluniverse.image=http://xxx-xxxx.dyndns.biz:8080/images/ofbiz_logo.jpg


The redirect to the hosted payment page is successful, with the hosted payment page displayed in my browser. The hosted payment page is able to display my logo, as defined by payment.portaluniverse.image, which leads me to believe that the basic networking setup is correct.

When the transaction is canceled on the hosted payment page a redirect to http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal should take place, but unfortunately fails with the following message "Firefox can't establish a connection to the server at xxx-xxxx.dyndns.biz:8080."

a4u-ecommerce is a custom version of the generic OFBiz ecommence component. Below is the definition of the cancelonexternal request.

<request-map uri="cancelonexternal">
        <security https="false" direct-request="false"/>
        <event type="java" path="com.gat.connectivity.cancel.external.Cancel" invoke="cancel"/>
        <response name="success" type="request" value="africa4youCancel"/>
        <response name="fail" type="request" value="africa4youCancel"/>
        <response name="error" type="request" value="africa4youCancel"/>
</request-map>

Any help would be appreciated.

Kind regards

Grant



     
Reply | Threaded
Open this post in threaded view
|

Re: hosted payment page : paypal'ish

mrisaliti@libero.it
Hi Grant,

it seems to me that your request-map cancelonexternal is similar to  
the predefined in the ecommerce component that is "payPalCancel".
Have you tried to remove the attribute  direct-request="false" ?
Alternatively you can try with the "payPalCancel" request map and see  
if it's working and take a look at the console logs.

Marco

Il giorno 23/apr/09, alle ore 15:22, Grant Edwards ha scritto:

> Hi
>
> I am doing an integration to a hosted payment page which operates in  
> a similar vein to PayPal and need a little assistance.
>
> As per PayPal we specify a Return URL, Cancel URL and Image URL  
> which are sent as url parameters in the redirect.
>
> # Portal Universe Return URL
> payment.portaluniverse.return=https://xxx-xxxx.dyndns.biz:8443/a4u-ecommerce/control/portalUniverseNotification
>
> # Portal Universe Cancel URL
> payment.portaluniverse.cancel=http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal
>
> # Image To Use On Portal Universe
> payment.portaluniverse.image=http://xxx-xxxx.dyndns.biz:8080/images/ofbiz_logo.jpg
>
>
> The redirect to the hosted payment page is successful, with the  
> hosted payment page displayed in my browser. The hosted payment page  
> is able to display my logo, as defined by  
> payment.portaluniverse.image, which leads me to believe that the  
> basic networking setup is correct.
>
> When the transaction is canceled on the hosted payment page a  
> redirect to http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal 
>  should take place, but unfortunately fails with the following  
> message "Firefox can't establish a connection to the server at xxx-
> xxxx.dyndns.biz:8080."
>
> a4u-ecommerce is a custom version of the generic OFBiz ecommence  
> component. Below is the definition of the cancelonexternal request.
>
> <request-map uri="cancelonexternal">
>        <security https="false" direct-request="false"/>
>        <event type="java"  
> path="com.gat.connectivity.cancel.external.Cancel" invoke="cancel"/>
>        <response name="success" type="request"  
> value="africa4youCancel"/>
>        <response name="fail" type="request" value="africa4youCancel"/>
>        <response name="error" type="request"  
> value="africa4youCancel"/>
> </request-map>
>
> Any help would be appreciated.
>
> Kind regards
>
> Grant
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: hosted payment page : paypal'ish

BJ Freeman
In reply to this post by africa4you
"Firefox can't establish a connection to the server at
xxx-xxxx.dyndns.biz:8080."

says can not connect to the server at all
not a problem with ofbiz

Grant Edwards sent the following on 4/23/2009 6:22 AM:

> Hi
>
> I am doing an integration to a hosted payment page which operates in a similar vein to PayPal and need a little assistance.
>
> As per PayPal we specify a Return URL, Cancel URL and Image URL which are sent as url parameters in the redirect.
>
> # Portal Universe Return URL
> payment.portaluniverse.return=https://xxx-xxxx.dyndns.biz:8443/a4u-ecommerce/control/portalUniverseNotification
>
> # Portal Universe Cancel URL
> payment.portaluniverse.cancel=http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal
>
> # Image To Use On Portal Universe
> payment.portaluniverse.image=http://xxx-xxxx.dyndns.biz:8080/images/ofbiz_logo.jpg
>
>
> The redirect to the hosted payment page is successful, with the hosted payment page displayed in my browser. The hosted payment page is able to display my logo, as defined by payment.portaluniverse.image, which leads me to believe that the basic networking setup is correct.
>
> When the transaction is canceled on the hosted payment page a redirect to http://xxx-xxxx.dyndns.biz:8080/a4u-ecommerce/control/cancelonexternal should take place, but unfortunately fails with the following message "Firefox can't establish a connection to the server at xxx-xxxx.dyndns.biz:8080."
>
> a4u-ecommerce is a custom version of the generic OFBiz ecommence component. Below is the definition of the cancelonexternal request.
>
> <request-map uri="cancelonexternal">
>         <security https="false" direct-request="false"/>
>         <event type="java" path="com.gat.connectivity.cancel.external.Cancel" invoke="cancel"/>
>         <response name="success" type="request" value="africa4youCancel"/>
>         <response name="fail" type="request" value="africa4youCancel"/>
>         <response name="error" type="request" value="africa4youCancel"/>
> </request-map>
>
> Any help would be appreciated.
>
> Kind regards
>
> Grant
>
>
>
>