oscProfessionals   
  • Home
  • Multi Stores
  • Port Folio
  • Links
  • F.A.Q
  • Demo
Ajax Creloaded Multi Store Flash Book Flex Flex Flash Photogallery osCommerce oscommerce template php

  • Search

  • Pages

    • About
  • Archives

    • March 2008
    • February 2008
    • January 2008
  • Categories

    • Additional
    • Payment
    • Paypal
    • Uncategorized
  • Blogroll

    • Development Blog
    • Documentation
    • Plugins
    • Suggest Ideas
    • Support Forum
    • Themes
    • WordPress Planet
  • Meta

    • Login
    • ValidXHTML
    • XFN
    • WordPress

Fatal error: Call to a member function call_api() on a non-object

March 13th, 2008

Subject: Fatal error: Call to a member function call_api() on a non-object in /public_html/shopping/checkout_process.php on line 102

————————————————-

Module Name: buySAFE module for osCommerce

Module: Features

Download Module From this Link….

http://www.oscommerce.com/community/contributions,5113/category,all/search,buySAFE

——————————————————————————

buySAFE module for osCommerce

 

This is the first buySAFE module for osCommerce, created to incorporate the buySAFE Trust and Bonding solution to your osCommerce store. This allows merchants using osCommerce to display both the buySAFE Trust Seal and offer their customers the buySAFE Bond Guarantee in their shopping cart. Online merchants are using buySAFE to increase website conversion rates, average order sizes and repeat buyer rates.

 

Note: In order to use this module, you must first be certified as a buySAFE Merchant. The buySAFE service is free for merchants. To become a buySAFE Merchant, go to www.buysafe.com and Apply Now.

 

The support thread for the contribution can be found here:

http://forums.oscommerce.com/index.php?showtopic=261464

————————————————————————————

Important Link:

http://svn.oscommerce.com/jira/browse/OSC-386

http://forums.oscommerce.com/index.php?showtopic=285661

http://www.oscommerce.com/community/contributions,5113/category,all/search,buySAFE

http://forums.oscommerce.com/index.php?showtopic=261464

———————————————-

As on Site:

http://www.tailgatersobx.com/shopping/checkout_process.php

 

Fatal error: Call to a member function call_api() on a non-object in /public_html/shopping/checkout_process.php on line 102

 

——————————————–

Reason:

Reason Find is Module is not installed Proper…

——————————————————————————

Solution:1

As per:

http://forums.oscommerce.com/index.php?showtopic=285661

Find this code in checkout_process.php

CODE

// {{ buySAFE Module

$buysafe_cart_id = MODULE_BUYSAFE_BUYSAFE_CART_PREFIX . ‘-’ . tep_session_id() . (tep_count_customer_orders()-1);

$checkout_params = array(’WantsBond’ => ($WantsBond ? $WantsBond : ‘false’), ‘orders_id’ => $insert_id, ‘buysafe_cart_id’ => $buysafe_cart_id);

$checkout_result = $buysafe_module->call_api(’SetShoppingCartCheckout’, $checkout_params);

if (is_array($checkout_result) && $checkout_result[’IsBuySafeEnabled’] == ‘true’)

{

$update_data_array = array(’buysafe_cart_id’ => $buysafe_cart_id,

‘buysafe_client_ip’ => getenv(’REMOTE_ADDR’),

‘buysafe_session_id’ => tep_session_id());

tep_db_perform(TABLE_ORDERS, $update_data_array, ‘update’, “orders_id = ‘” . (int)$insert_id . “‘”);

}

// }}

 

And comment it out like this (by wrapping the code with /* and */:

 

// {{ buySAFE Module

/* $buysafe_cart_id = MODULE_BUYSAFE_BUYSAFE_CART_PREFIX . ‘-’ . tep_session_id() . (tep_count_customer_orders()-1);

$checkout_params = array(’WantsBond’ => ($WantsBond ? $WantsBond : ‘false’), ‘orders_id’ => $insert_id, ‘buysafe_cart_id’ => $buysafe_cart_id);

$checkout_result = $buysafe_module->call_api(’SetShoppingCartCheckout’, $checkout_params);

if (is_array($checkout_result) && $checkout_result[’IsBuySafeEnabled’] == ‘true’)

{

$update_data_array = array(’buysafe_cart_id’ => $buysafe_cart_id,

‘buysafe_client_ip’ => getenv(’REMOTE_ADDR’),

‘buysafe_session_id’ => tep_session_id());

tep_db_perform(TABLE_ORDERS, $update_data_array, ‘update’, “orders_id = ‘” . (int)$insert_id . “‘”);

}

*/// }}

——————————————————————————

Solution:2

Download Module From this Link….

http://www.oscommerce.com/community/contributions,5113/category,all/search,buySAFE

Incomplete contribution Installed

——————————————————————————

For download this contribution and document refer:

http://www.oscprofessionals.com/demo/oscpayment/document/features/buySAFE_OSC_0.9.zip

——————————————————————————-

Tags: buySAFE module for osCommerce
Posted in Payment | No Comments »

Test Credit Card Account Numbers

March 13th, 2008

Test Credit Card Account Numbers

While testing, use only the credit card numbers listed here. Other numbers produce an error.

Expiration Date must be a valid date in the future (use the mmyy format).

Test Credit Card Account Numbers

Credit Card Type

Credit Card Number

American Express

378282246310005

American Express

371449635398431

American Express Corporate

378734493671000

Australian BankCard

5610591081018250

Diners Club

30569309025904

Diners Club

38520000023237

Discover

6011111111111117

Discover

6011000990139424

JCB

3530111333300000

JCB

3566002020360505

MasterCard

5555555555554444

MasterCard

5105105105105100

Visa

4111111111111111

Visa

4012888888881881

Visa

4222222222222

Note : Even though this number has a different character count than the other test numbers, it is the correct and functional number.

Processor-specific Cards

Dankort (PBS)

76009244561

Dankort (PBS)

5019717010103742

Switch/Solo (Paymentech)

6331101999990016

For this please refer the following url:

 

https://www.paypal.com/en_US/vhelp/
paypalmanager_help/credit_card_numbers.htm

Tags: Test Credit Card Account Numbers
Posted in Additional | No Comments »

1062 - Duplicate entry ‘1′ for key 1

February 4th, 2008

Error when we fill form for create an account and click on continue button…

1062 - Duplicate entry ‘1′ for key 1

insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values (’1′, ‘0′, now())

[TEP STOP]

Reason: In Database->Table->customers_info->customers_info_id is not an autoincrement field

Check->table customers_info structure…

Solution: Go to Database->Table->customers_info->make an autoincrement field to autoincrement field

Posted in Additional | No Comments »

What is Instant Payment Notification: notify_url?

January 17th, 2008

Instant Payment Notification: notify_url
Instant Payment Notification consists of three parts:
1. A customer pays you.
2. PayPal POSTs FORM variables to a URL you specify that runs

 a program to process the variables.
3. You validate the notification.
1. A customer payment or a refund triggers IPN. This payment can be via

Website Payments Standard FORMs or via the PayPal Web Services APIs

 for Express Checkout, MassPay, or RefundTransaction. If the payment has a

 “Pending” status, you receive another IPN when the payment clears, fails,

or is denied.
2. PayPal posts HTML FORM variables to a program at a URL you specify. You can specify
this URL either in your account profile or with the notify_url variable on each
transaction. This post is the heart of IPN. Included in the notification is the customer’s
payment information (such as customer name, payment amount). When your server
receives a notification, it must process the incoming data.
3. Your server must then validate the notification to ensure that it is legitimate.

Tags: Instant Payment Notification: notify_url
Posted in Paypal | No Comments »

We would like to have a simple interface is the admin section of osCommerce to issue refunds via PayPal

January 17th, 2008

Send a Refund Easily

Send a refund to a buyer conveniently. With PayPal, you can send refunds - or partial refunds - within 60 days of receiving a payment.

It’s quick.

Just click Refund on the Transaction Details page of the payment you wish to refund.

It’s flexible.

In addition to being able to refund your buyer any time within 60 days of receiving a payment, you can also opt to send a Partial Refund.

It’s affordable.

Your original transaction fee will be credited to you. When issuing partial refunds, a portion of the original fees paid will be returned to you.

It’s easy.

Here’s how it works:

  1. Log in to your PayPal account.
  2. Click the History subtab.
  3. Find the payment you would like to refund.
  4. Click Details to open theTransaction Details page.
  5. Click the Refund Payment link.
  6. Enter the refund amount and click Submit.
  7. Confirm the refund amount and click Submit.

————————————————-

For reference please refer below url:

https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/cps/bizui/SendRefund-outside

————————————————-

Attachment:


Tags: We would like to have a simple interface is the admin s
Posted in Paypal | No Comments »

In Oscommerce PayPal Error Detected: This invoice has already been paid. For more information, please contact the merchant.

January 3rd, 2008

Error: Error Detected:
This invoice has already been paid. For more information, please contact the merchant.

Error Time:
=>When we confirm the order with payment paypal . When the site goes to paypal login above error execute:

Reason for this error:
There are probably two reason:
Reason1: Configuration Setting
Reason2: Orders Overwrite

Solution:
For Reason1:
=>In Admin/Module/Payment/
The setting of following field:
Synchronize Invoice:
=>Do you want to specify the order number as the PayPal invoice number?
( ) True
( ) False
=> This setting should be
(* ) False

For Reason2:
Sometimes the order id overwrite with the existing with old order..in this case you need have to delete/remove the existing order and check…..
————————————–

Posted in Paypal | No Comments »

Orders not Populating admin in oscommerce paypal

January 2nd, 2008

This is a very general bug that is found in most of the oscommerce stores using default Paypal module that comes with Vanilla 2.2 version of oscommerce.

The logic associated with the code is that on return to success page the data base tables will be populated for orders.But if for some reason a customer does not return then order is lost.

Solution:

1)Add order holding contribution.

2)Go for Paypal IPN version of Paypal Payment Module(Recommended).

Posted in Paypal | No Comments »

General Bugs in PHP development

January 2nd, 2008

Well I was reviewing a code and found that while extracting details from data base for a news the expiry date where condition was not considered.

So though the news was not to be displayed as it has expired it was getting displayed.

Suggestion:

Always keep a db designer DB XML file to cross check before You write Your sq query.

Posted in Uncategorized | No Comments »

Test Blog

January 2nd, 2008
 
 
 
oscprofessionals
Our Most Popular osCommerce Services
1) Multi-Stores multiple shop system(demo): (Hobzilla , MS Contribution)
Multi-Stores Contribution installation on osCommerce and CRELoaded
Apart from installing Multi-Stores contribution.
We can also handle (Modify) following contributions so as to make it
Multi-Stores compatible:
Multi-Stores services For osCommerce:
- Fast Easy Checkout
- Recover Cart Sales
- Whose Online (Modified by Store wise)
Multi-Stores services For CRELoaded:
- Fast Easy Checkout
- Featured Products (Modified by Store wise)
- All Products (Modified by Store wise)
- Manufacture (Modified by Store wise)
2) Mail Auction installation on oscommerce and creloaded.
3) Installation of Payment Modules :
- Paypal WPP
- osCommerce PayPal IPN
- Google Checkout Module for osCommerce
- ECHO Payment Module
4) MyYellow Shipping Module for osCommerce.
5) Bug fixing related to any Shipping Module.
6) Developing a new Shopping Module.
7) Adding Oscommerce Contributions.
8) Debugging, fixing Oscommerce Store Bugs.
9) Search engine optimization.
Shopping cart
osCommerce: osCommerce is a robust and a complete shopping cart developed with PHP. We have a team devoted to handle all issues related to osCommerce . Some of the important issues are:
– Search Engine Optimization[SEO].
– Add and Modify Contributions.
– Template integration.
– Site Transfer.
– Site analysis and suggestions.
CRELoaded: CRELoaded is a shopping cart version derived from osCommerce .
Zencart: Zencart is a shopping cart version derived from osCommerce.
Content Manage System
Joomla : For CMS based PHP websites development We use Joomla. Some of the important issues in a Joomla site are
PHP Project
PHP Project: We build complete PHP based projects from scratch using specifications provided. Here we use Mysql as the data base.
Internet Marketing
Search Engine Optimization: We do search engine optimization. The important issues handled in search engine optimization are:
–Link submission.
–Content optimization.
–search engine submission.
–Site map.
–Super tracker

Posted in Uncategorized | No Comments »



ensys Blogs - Multi-Store - osCommerce - CRELoaded - Zencart - Ajax - E-Commerce : Solution - Contribution - PHP