Forums / Setup & design / VISA integration with shop

VISA integration with shop

Author Message

Siw Helen Thorslund

Sunday 01 May 2005 5:10:02 am

What is the best solution for integrating VISA with a shop i eZ publish?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Xavier Dutoit

Sunday 01 May 2005 7:43:31 am

depends of what you want and your budget. Have a look at the payment providers already integrated with ez (paypal, worldpay and a few others if I'm right).

X+

P.S. Paypal is probably the cheaper

http://www.sydesy.com

Siw Helen Thorslund

Sunday 01 May 2005 8:17:38 am

I just put up a test-shop with PayPal.

My site is in Norwegian with currency NOK. It is right that PayPal will not accept this?

Only: Canadian Dollar, Euro, Pound Sterling, U.S. Dollar, Yen and Australian Dollar?

Anyone that have tried this integrated with a currency not on the list from PayPal?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Siw Helen Thorslund

Monday 02 May 2005 2:27:25 am

Anyone that have tried this integrated with a currency not on the list from PayPal?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Frederik Holljen

Monday 02 May 2005 4:35:05 am

Siw, did you look at our paynet integration?
http://ez.no/products/paynet_gateway

Siw Helen Thorslund

Monday 02 May 2005 4:39:17 am

Yes, I looked at Paynet, and it looks interesting.

You will need this to support Norwegian Kroner (NOK)?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Petter Arneson

Friday 02 September 2005 5:54:23 am

Im trying to integrate PayPal as well.
I noticed that when the request is sent to PayPal (sandbox) it was a generated url something like this:

https://www.sandbox.paypal.com/cgi-bin/....&amount=299&currency_code=NOK

Maybe there is a way to generate a identical link with currency in euro, and calculate the amount in euro. Something like this:

https://www.sandbox.paypal.com/cgi-bin/....&amount=38&currency_code=EUR

I have included the eurofxref extension in my installation. With this I can calculate the correct price like this:

Price in NOK: {$node.object.data_map.price.content.price}

{def $ini_file=ezini('RegionalSettings', 'Locale')|append('.ini')}
Locale: {$ini_file}

{def $currency_short_name=ezini('Currency', 'ShortName', $ini_file)}
Currency short name: {$currency_short_name}

{let rates=fetch( 'eurofxref', 'fxref' )}
	{def $price_norwegian=$node.object.data_map.price.content.price}
	{* def $euro=$rates.fx.$currency_short_name|110n( 'number' ) *}
	{def $euro=$rates.fx.NOK|110n( 'number' )}
	{def $price_euro=div($price_norwegian, $euro)}

	Price in Euro: {$price_euro|l10n('clean_currency')}

{/let}

As you can see I'm also trying to fetch the currency short name from the share/locale folder, so this could be dynamic, but it won't fetch the settings.

I've tried to locate where the url is generated, but this is done somewhere in the kernel, and I'm not sure how to do this correctly.

Does someone have a solution to this, or any ideas?

-Thanks

www.vzt.no

Petter Arneson

Monday 05 September 2005 2:47:17 pm

Have anybody tried generating their own request string for communicating with PayPal?

Or have any idea if this is possible or not?

www.vzt.no

Petter Arneson

Wednesday 14 September 2005 6:11:33 am

Doh!
The url is generated in the PayPal extension.
The idea worked fine so far, exept for the timeout in the callback.

www.vzt.no