Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google checkout problem


gandhi
 Share

Recommended Posts

i was told to enter the following code after the code below in googlecheckout.php which is located in shop/includes/modules/payment.php but it still doesn't work, cany anyone help?

 

// These are the flat shipping methods, add any other that is not merchant calculated

 

// These are all the available methods for each shipping provider, 
// see that you must set flat methods too!}
// CONSTRAINT: Method's names MUST be UNIQUE
// Script to create new shipping methods
// http://demo.globant.com/~brovagnati/tools -> Shipping Method Generator
$this->mc_shipping_methods = array( 
'parcelforce48' => array(
'domestic_types' =>
array(
'parcelforce48' => 'Ships within 48 Hours'
),

'international_types' =>
array(

),
),
'citylink' => array(
'domestic_types' =>
array(
'citylink' => 'Ordered before 3pm, Ships Nextday'
),

'international_types' =>
array(

),
),
'fedexeu' => array(
'domestic_types' =>
array(
'fedexeu' => 'FedEx Express Europe'
),
'international_types' =>
array(
'fedexeu' => 'FedEx Express Europe'
),
), 
'airmail' => array(
'domestic_types' =>
array(

),
'international_types' =>
array(
'airmail' => 'Airmail International Signed For'
),
), 
'rmfirst' => array(
'domestic_types' =>
array(
'rmfirst' => '1st Class Standard'
),

'international_types' =>
array(

),
), 
'rmfirstrec' => array(
'domestic_types' =>
array(
'rmfirstrec' => '1st Class Recorded'
),

'international_types' =>
array(

),
), 
'rmsecond' => array(
'domestic_types' =>
array(
'rmsecond' => '2nd Class Standard'
),

'international_types' =>
array(

),
),
'rmsecondrec' => array(
'domestic_types' =>
array(
'rmsecondrec' => '2nd Class Recorded'
),

'international_types' =>
array(

),
),
'rmspecial' => array(
'domestic_types' =>
array(
'rmspecial' => 'Special Delivery'
),

'international_types' =>
array(

),
),
'rmstandardparcel' => array(
'domestic_types' =>
array(
'rmstandardparcel' => 'Standard Parcels'
),

'international_types' =>
array(

),
), 
);

$this->mc_shipping_methods_names = array( 
'parcelforce48' => 'ParcelForce 48', 
'citylink' => 'Initial Citylink',
'fedexeu' => 'FedEx Europe',
'airmail' => 'Royal Mail', 
'rmfirst' => 'Royal Mail',
'rmfirstrec' => 'Royal Mail',
'rmsecond' => 'Royal Mail',
'rmsecondrec' => 'Royal Mail',
'rmspecial' => 'Royal Mail',
'rmstandardparcel' => 'Royal Mail' 
);

Link to comment
Share on other sites

you need to read the manual and check the errors.

 

I know exactly how to fix the issue.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...