vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   payment processor creation questions (https://vborg.vbsupport.ru/showthread.php?t=110296)

johnmont 03-13-2006 11:45 PM

payment processor creation questions
 
I've got a decent start on things creating a verisign payment API, but had a bit of an issue discovering why certain things were missing in the html and such after creating a new class. Eventually I did a db search to fine words and figured out where everything was being used. But I'm still having some issues.

Here's what I did:

I copied the worldpay php file and changed the classname, etc. Took some time and figured most everything out. Then I discovered the templates table and basically got most of it running. One thing I did, however, was end up losing some of the custom db fields which are visible in the admin cp (password, merchant id, etc). When I renamed them in the phrases table, these fields no longer show up on the page (at least thats when I think I lost them). I'm curious what the interaction between these various files are -- I think I named them "correctly". By this I mean how does a settings item in the payment.api field end up getting displayed in the admin field? And how does this relate to phrases?

I've found the following uses in the database and in files...i don't think I'm missing any:

db: paymentapi, phrase, language, template, style
files: md5_sums_vbulletin, class_verisign.php (my file), payments.php

For future upgrade compatibility, etc....what is the "proper" way to add an API. Duplicate an exisiting one and change? Replace an existing one? Plugin creation?

Thanks for the info.

Willem P 07-25-2006 02:05 AM

I'm also interested on any info on creating a payment API.

I want to be able to have people buy subscriptions with vouchers.
My client offers an audio tech support service and wants to be able to give physical vouchers to his real world clients, as well as selling vouchers in real world shops.

I've set up an external system for managing vouchers and I have been able to create a payment API class which validates the voucher...but can't work out how to have my system call back vBulletin and let it know that the voucher was accepted as payment.


All times are GMT. The time now is 03:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00919 seconds
  • Memory Usage 1,707KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete