Đang Thực Hiện

137719 Google Checkout & oscommerce

There are 2 separate Google contributions/approaches involved.

I refer to them as: Google Checkout & Google Payment

-------------

Concerning Google Checkout

Contribution Files Involved:

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

googlecheckout/[url removed, login to view]

includes/modules/payment/[url removed, login to view]

includes/languages/english/modules/payment/[url removed, login to view]

Here's what I need to end up with:

"Gift Certificate" (produst_id 1) & "Make A Payment" (produst_id 2) product's prices to pass through, and "Make A Payment" (produst_id 2) has an additional input field (an attibute) for a Description that needs to pass through, and presently doesn't.

Shipping process to work properly using oscommerce classes (to be able to add other shipping options)

Free Shipping flags need the Google Checkout process to recognize them, and have the free shipping pass through when applicable

Free Shipping (over amount) needs to be recognized by the Google Checkout process, and have the free shipping pass through when applicable

Gift Certificate (just ones that are generated with a redeem code) set-up in Google and synched, with the information passed back from Google, and updated in oscommerce admin.

Coupons also set-up in Google and synched, with the information passed back from Google, and updated in oscommerce admin.

The Google call back file for the Google Checkout contribution is: [url removed, login to view]

-------------

Concerning Google Payment

Contribution Files Involved:

[url removed, login to view]

[url removed, login to view]

includes/modules/payment/[url removed, login to view]

includes/modules/payment/google/[url removed, login to view]

includes/modules/payment/google/[url removed, login to view]

includes/modules/payment/google/[url removed, login to view]

The Google call back url file for the Google Checkout contribution is: [url removed, login to view]

Presently, when a coupon is used, it works correctly

but...

Presently, when a gift certificate is used for a customer in a taxed area (for orders being delivered to the same state as the merchant's business is in). Google Payment calculates the tax incorrectly. It first deducts the gift certificate amount, and then calculates the taxes based on the remaining balance. This must be made to tax the entire amount first, and then deduct the gift certificate amount.

There is code that distinguishes Gift Certificates from Coupons in: includes/modules/payment/[url removed, login to view]

In the same file the code also appears to control the order of the calculations.

-------------

Google allows only one call back url. And, each contribution/approach requires separate processes.

So, I will need a flag/distinguishing code of some manner, placed in one file for each contribution (I think these files: googlecheckout/[url removed, login to view] - for Google Checkout & includes/modules/payment/[url removed, login to view] - for Google Payment) to be able to place the separate processes into one file, and then use an "if" statement to tell the call back code what to do, depending on which flag/distinguishing code is sent back.

Google Payment only needs to have status updated, because order is already in admin through regular oscommerce checkout.

Kỹ năng: Bất kì công việc gì, PHP, SQL, XML

Xem thêm: php refer url, free business log, add inc, google shipping, google place, google merchant, gift certificate, payment code oscommerce, placed call, state tax, google log, shipping calculations, file taxes, google certificate, coupon used, regular contribution, google checkout responsehandler php, orders control oscommerce, call prices, need google coupon, oscommerce product google, google payment php, oscommerce php add field, coupon code xml, oscommerce call

Về Bên Thuê:
( 3 nhận xét ) No Thank you, United States

Mã Dự Án: #1883893