I'd love to have a single gateway for the API of Garanti Bank.

Also It'd be great to have some tutorials for the creation of these gateways.

CommentFileSizeAuthor
#3 uc_turkish_banks.module.patch8.41 KBkorayal

Comments

bakyildiz’s picture

Assigned: Unassigned » bakyildiz

The development version needs to be tested now. I am getting "Payment failed: Credit card payment declined: ApiServer Error: Clientid HATALI" form bank. So i need the connection infomation to go further or what can we do for next step?

bakyildiz’s picture

Please feedback after your tests.

korayal’s picture

StatusFileSize
new8.41 KB

I Created a patch to the module to include the shipping and delivery address fields to the xml which is sent to the Bank API.

Some language variables were set wrong. The "keyword" in t('keyword') have to be en English to be able to work good on other translation settings.

Also I think file encoding of the module should be set to UTF-8 to be compliant for foreign language charsets.

Here is a patch I created fixing these problems.

I'm not sure about the address fields. I'll check it after getting my store ID from the bank.

korayal’s picture

Status: Active » Needs review
bakyildiz’s picture

Thank you for the patch.

I have reviewed the code with code review module and make minor changes.
$taksit changed to $instalment
The while statement changed to if on line 974
file type changed to UTF-8

bakyildiz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.