Implementing credit card support

Author Message

Mike Schachanski

Tuesday 04 May 2004 7:44:06 am

<b>Creating my own API</b>
I am a system developer for SUBSTANCE in Oslo, Norway. Right now we are working on http://www.headlight.no 's new websites. We want to implement credit card payment method. We have contacted the BBS (The Terminal of Norwegian Banks), and they can offer us an API and an API Gateway at the cost of 1,000$ (7000 kr) plus 50$ (350 kr) a month. I think this is quite expensive, considering the fact that you can make your own API script using the CURL (libCurl) functions of PHP to send information (order information, credit card information and such) using different protocols (e.g. HTTPS, FTP, etc.), and a simple script to handle the returned information. This is also making the process look much more professional.

My question goes out to all the experienced Norwegian PHP developers out there. Does anyone know if this is possible (allowed by BBS)?

Roy Viggo Pedersen

Wednesday 05 May 2004 4:42:22 am

Hi Marius,

No, that's not allowed by BBS. The BBS Netterminal framework is easy to use, very secure, recognised by users and reasonable priced, so I can't see any reason not to use it. It also provides added safety to users with VISA and MasterCard, and it's possible to use BankAxept, Diners and American Express cards.

I have not used the PHP API my self, but have made a similar API in Perl with the same functions. Both use the same C API from BBS.

Roy

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:11:36
Script start
Timing: Jan 18 2025 19:11:36
Module start 'layout'
Timing: Jan 18 2025 19:11:36
Module start 'content'
Timing: Jan 18 2025 19:11:37
Module end 'content'
Timing: Jan 18 2025 19:11:37
Script end

Main resources:

Total runtime0.8915 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9219152.6250
Module start 'layout' 0.00700.0035 740.546939.4453
Module start 'content' 0.01050.8794 779.9922458.1250
Module end 'content' 0.89000.0015 1,238.11728.1563
Script end 0.8915  1,246.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3673160.0002
Check MTime0.00130.1426160.0001
Mysql Total
Database connection0.00080.091010.0008
Mysqli_queries0.842694.5132540.0156
Looping result0.00070.0768520.0000
Template Total0.851795.520.4258
Template load0.00190.212420.0009
Template processing0.849895.314920.4249
Template load and register function0.00030.028810.0003
states
state_id_array0.00100.108810.0010
state_identifier_array0.00260.296120.0013
Override
Cache load0.00160.1745110.0001
Sytem overhead
Fetch class attribute can translate value0.00080.090920.0004
Fetch class attribute name0.00150.162820.0007
XML
Image XML parsing0.00020.022920.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00150.1634100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs