Post by Dayo » Thu Apr 09, 2009 2:27 am

Moneybookers almost done

Not yet fully understanding this cart, can anyone help with how to access the 'iso_code_3' value of the billing country an order?

Thanks

New member

Posts

Joined
Thu Nov 13, 2008 3:27 am

Post by phpuk » Thu Apr 09, 2009 3:02 am

In catelog/controller/payment/Moneybookers.php

Try adding this...

$this->data['currency'] = $order_info['currency'];

Then simply reffernce it in your template as $currency.

Phil.

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by Dayo » Thu Apr 09, 2009 3:10 am

phpuk wrote:Try this...

$this->data['currency'] = $order_info['currency'];
Sorry. I wanted the code for countries not currencies.

I guess I could run sql on $order_info['payment_country'] or similar to get the 3 digit ISO code just a bit too lazy to echo out what it holds (country id I'll guess).

New member

Posts

Joined
Thu Nov 13, 2008 3:27 am

Post by phpuk » Thu Apr 09, 2009 3:41 am

Hi,

$order_info['payment_country'] would give United Kingdom for example.

Quick suggestion try something like:

Code: Select all

$query = "SELECT `iso_code_3` FROM `country` WHERE `name` = '". $order_info['payment_country'] . "'";
Phil.

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by Dayo » Thu Apr 09, 2009 4:07 am

Thanks

I can run a select query with that on the countries table. Just need to look up an example for how OPC handles queries to keep things within the structure. Seems like it is query(sql) function.

Learning about how this works while at this

Thanks again.

EDIT: Just saw your example sql thanks. I know the sql to get the info but want to do it within the structure of this app. From looking at the mysql.php file, it looks like it will be $somevar = query(select ...xyz)

Anyway, thanks for your help.

New member

Posts

Joined
Thu Nov 13, 2008 3:27 am

Post by phpuk » Thu Apr 09, 2009 4:22 am

Hi Daniel,

I have had a question thrown at me by one of my customers whilst working on some behind the scenes beta stuff including OpenCart...
Can you show a small logo for both the shipping ie UPS and payment types ie Protx next to the options in the checkout area of the shopping cart rather than just a simple text or even in conjunction with the simple text?
Thoughts...

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by Daniel » Thu Apr 09, 2009 4:51 am

Sure.

I will include it in the next release. Maybe even have a link to the web site.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Dayo » Sat Apr 11, 2009 5:37 am

Moneybookers payment module done

Get it here

New member

Posts

Joined
Thu Nov 13, 2008 3:27 am

Post by phpuk » Sat Apr 18, 2009 7:43 am

Sage Pay is done.

Everything now validates but it can not be used until Tuesday 21st April 2009! The current version will work until then but only in the live environment not any of the test or simulation environments.

Daniel - This is a priority release for all Protx users as the current implementation simply will not work as Sage Pay have upgraded their form version to 2.23 which is not compatible with the current version in OpenCart.

I will also post this in Contributions.

Phil.

Attachments

Sage Pay for version 1.2.6


Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am

Post by allan » Mon Apr 20, 2009 5:56 am

Hello,

I am trying to develop a merchant gateway module for an ecommerce solution I am deploying using OpenCart. I am not too knowledgeable about PHP but have done programming with many other languages. Is there any sort of guide or a good PHP example file that would show me how to do this. The gateway provider did provide a nice PHP file that will format things fairly nicely, but I am not sure how to tie it into OpenCart's PHP code. Any help would be appreciated.

Thanks.


Allan

Newbie

Posts

Joined
Mon Apr 20, 2009 5:52 am

Post by Scheeltje » Mon Apr 27, 2009 4:50 am

mikeweb wrote:Yeah so many systems

The systems I want to add are

- iDeal (widely used (and accepted) dutch bank system, each bank had its own system to pay to all banks)
- Mollie (sms mms ideal phone)
- TargetPay (sms mms ideal phone)
etc.
Yeah, i would like such a module

Newbie

Posts

Joined
Mon Apr 27, 2009 2:27 am

Post by oddman » Thu Apr 30, 2009 8:31 pm

Just so you're aware Daniel, I'm also working on a payment gateway, as one of my clients need it. I will most certainly ensure it's posted here and/or put up as a contribution once it's completed. Currently working on EWAY payment gateway :)

Keep up the good work mate!

Newbie

Posts

Joined
Wed Jan 28, 2009 7:37 pm

Post by jnixus » Fri May 01, 2009 6:53 pm

I can assist with testing.

PM me and give me a rough idea on what you need me to do.

User avatar
New member

Posts

Joined
Fri Apr 17, 2009 3:26 am
Location - London

Post by BfoP » Tue May 05, 2009 9:33 am

Paysafe Card Module please

Newbie

Posts

Joined
Sun May 03, 2009 7:45 am

Post by fastdev » Wed May 27, 2009 10:10 pm

how can I change currency to USD in checkouts?

for example someone select EUR and my gateway support USD only.

$this->currency->set("USD"); not working ???

should I use format? how? ???

.


New member

Posts

Joined
Tue May 26, 2009 5:25 pm

Post by daza2304 » Thu May 28, 2009 6:16 pm

google checkout if possible??

New member

Posts

Joined
Sun May 24, 2009 9:54 pm

Post by JNeuhoff » Thu May 28, 2009 6:21 pm

google checkout if possible??
Coming soon, working on a port to OpenCart 1.2.x. OpenCartZero already has it.

MHC Web Design
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by daza2304 » Thu May 28, 2009 8:18 pm

Excellent, great work :)

New member

Posts

Joined
Sun May 24, 2009 9:54 pm

Post by simrae » Wed Jun 10, 2009 7:32 pm

I'm developing an internal 'shop' for our organisation - ideally I'm looking for a "Puchase Order"-based payment solution i.e. the buyer simply has to supply a valid account number and an appropriate puchase order code. Any chance of such a module being developed in the near future?

Newbie

Posts

Joined
Wed May 27, 2009 8:41 pm

Post by daza2304 » Fri Jun 19, 2009 1:43 am

Any news on google checkout?

New member

Posts

Joined
Sun May 24, 2009 9:54 pm
Who is online

Users browsing this forum: No registered users and 6 guests