Back to vBulletin 4.x Add-ons

PHPKD - Paypal Payment API #2
Mod Version: 4.0.101, by Omranic

vB Version: 4.0.x Rating: (1 vote - 5.00 average) Installs: 11
Released: 26 Sep 2010 Last Update: 28 Sep 2010 Downloads: 68
Not Supported DB Changes Uses Plugins Code Changes Additional Files Re-usable Code Translations  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!.................. Brought to you by PHP KingDom (http://www.phpkd.net) ..................!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Name: PHPKD - Paypal Payment API #2
Version: 4.0.101

Description: This product adds additional paypal payment API completely separate from the default one, with it's own settings and it's own processing.

Compatible with: All 4.0.x vBulletin versions.

Requirements:
  • vBulletin version 4.0.x


Helpful links:
  • http://forum.phpkd.net/project.php?do=issuelist&projectid=2&issuetypeid=bug
  • http://forum.phpkd.net/project.php?do=issuelist&projectid=2&issuetypeid=feature


Features:
  • General Features:-
    • Fully Phrased.
    • Fully Supported.
    • Accurate Processing.
    • Professionally Coded.
    • Detailed Documentation.
    • Zero Additional Queries.
    • Does NOT break any default vBulletin functionality -Fully vBulletin Compatible-.
  • Specific Features:-
    • Additional Paypal Payment API completely standalone with it's own settings & isolated management.


Installation Procedure:
  1. Upload required files to their appropriate places:
    • includes
      • paymentapi
        • class_paypal2.php
  2. Do the following small manual edit(s), open the file "includes/subscriptions.php" and:
    Search for:
    Code:
    	print_select_row($vbphrase['shipping_address'], 'shipping', array(0 => $vbphrase['none'], 2 => $vbphrase['optional'], 4 => $vbphrase['required']), ($sub['options'] & $subobj->_SUBSCRIPTIONOPTIONS['shipping1']) + ($sub['options'] & $subobj->_SUBSCRIPTIONOPTIONS['shipping2']));
    Add under it directly the following code:
    Code:
    	// PHPKD - Paypal Payment API #2
    	print_table_header($vbphrase['paypal2_only']);
    	$sub2 = convert_bits_to_array($sub['options2'], $subobj->_SUBSCRIPTIONOPTIONS);
    	print_yes_no_row($vbphrase['tax'], 'options2[tax]', $sub2['tax']);
    	print_select_row($vbphrase['shipping_address'], 'shipping2', array(0 => $vbphrase['none'], 2 => $vbphrase['optional'], 4 => $vbphrase['required']), ($sub['options2'] & $subobj->_SUBSCRIPTIONOPTIONS['shipping1']) + ($sub['options2'] & $subobj->_SUBSCRIPTIONOPTIONS['shipping2']));

    Search for:
    Code:
    	$sub['displayorder'] = intval($sub['displayorder']);
    Add under it directly the following code:
    Code:
    	// PHPKD - Paypal Payment API #2
    	$vbulletin->input->clean_array_gpc('p', array('options2' => TYPE_ARRAY_UINT, 'shipping2' => TYPE_UINT));
    	if ($vbulletin->GPC['shipping2'] == 2)
    	{
    		$vbulletin->GPC['options2']['shipping1'] = 1;
    	}
    	else if ($vbulletin->GPC['shipping2'] == 4)
    	{
    		$vbulletin->GPC['options2']['shipping2'] = 1;
    	}
    	$vbulletin->GPC['sub']['options2'] = convert_array_to_bits($vbulletin->GPC['options2'], $subobj->_SUBSCRIPTIONOPTIONS);
    Save the modified file "includes/subscriptions.php" and upload it to it's place again (ALLOW OVERWRITE).
  3. Import the product's XML file "product-phpkd_vbpy2.xml" from AdminCP.
  4. You're Done .


Upgrade Procedure:
  1. Same as "Installation Procedure", but "Allow Overwrite" for both file uploads & product import.


Controls:
  • Settings:
    vBulletin AdminCP » Paid Subscriptions » Payment API Manager » Paypal #2


License:
http://info.phpkd.net/en/license/free/
--------------- --------------- --------------- ---------------
Creative Commons - Attribution-Noncommercial-Share Alike 3.0
http://creativecommons.org/licenses/by-nc-sa/3.0/
--------------- --------------- --------------- ---------------
  • You are free:
    • To Share — to copy, distribute and transmit the work
    • To Remix — to adapt the work

  • Under the following conditions:
    • [Attribution]: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
    • [Noncommercial]: You may not use this work for commercial purposes.
    • [Share Alike]: If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

  • For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to http://creativecommons.org/licenses/by-nc-sa/3.0/.
  • Any of the above conditions can be waived if you get explicit permission from the copyright holder.
  • Nothing in this license impairs or restricts the author's moral rights.
--------------- --------------- --------------- ---------------
Your fair dealing and other rights are in no way affected by the above.
This is a human-readable summary of the Legal Code (the full license).
http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode
--------------- --------------- --------------- ---------------

Help with:
  • Translations to benefit more users.
  • Suggestions & feature requests to develop this product.
  • Contributing any updates, upgrades and/or any new features.
  • Spreading this product. Yes, you're free to re-distribute this product as it is (See 'Free License' details).


Known Issues:
  • Nothing till now!


Future TO-DO-LIST:
  • Post your suggestions!


History:
  • v1.0.0 24/09/2008 10:00 AM UTC: First 3.7.x release (private)
  • v3.7.100, v3.8.100 13/04/2009 08:00 PM UTC: First initial public release.
  • v3.7.101, v3.8.101 14/04/2009 10:00 AM UTC: Fixing minor bug in the "uninstall code".
  • v4.0.100 26/09/2010 10:00 AM UTC: First 4.0.x release (public)
    1. Recoded from scratch.
    2. Fully compatible with vBulletin 4.0.x.
    3. Bug fix: transaction log now recorded correctly.
    4. Added missing features to make it 100% standalone.
  • v4.0.101 28/09/2010 10:00 AM UTC: Maintenance release (public)
    1. Fixed minor bug in installation code.


Screen Shots:
  • Available down there.


Technical Notes:
  • New Plugins: 1
  • New Phrases: 8
  • New Templates: 1
  • Manual Template changes: 0
  • Auto Template changes: 0
  • New Files: 1
  • Manual File Changes: 2
  • New vBulletin Settings: 0
  • New Usergroup Permissions: 0
  • New Moderator Permissions: 0
  • New Administrator Permissions: 0
  • New Forum Options: 0
  • New DB Tables: 0
  • DB Alterations: 1
  • New Cronjobs: 0
    --------------------------------
  • Installation Level: Easy
  • Installation Time: ~15 seconds


Recent Products:
  • http://go.phpkd.net/en/product/vblvb/ New !
  • http://go.phpkd.net/en/product/vbaqr/ New !
  • http://go.phpkd.net/en/product/vbaqe/

Download

File Type: %1$s PHPKD_VBPY2_4.0.101.zip (122.9 KB, 94 downloads)

Screenshots

Click image for larger version
Name:	phpkd_vbpy2_admincp_apis.png
Views:	312
Size:	20.2 KB
ID:	122341   Click image for larger version
Name:	phpkd_vbpy2_admincp_settings.png
Views:	336
Size:	32.1 KB
ID:	122342   Click image for larger version
Name:	phpkd_vbpy2_admincp_subscription.png
Views:	337
Size:	31.8 KB
ID:	122343   Click image for larger version
Name:	phpkd_vbpy2_order_payment.png
Views:	454
Size:	20.7 KB
ID:	122344  

Similar Mods

Administrative and Maintenance Tools SSGTI - Paypal 2 Payment Module [ API ] vBulletin 3.8 Add-ons
Administrative and Maintenance Tools SSGTI - Paypal 2 Payment Module [ API ] vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024