osCommerce PayPal Express Checkout modification

osCommerce PayPal Express Checkout modification

Cancelled

Job Description

Looking for a PayPal-Certified developer fluent in English (and PayPal APIs!).

Background:

I'm using osCommerce w/PayPal Express Checkout.

I have a script that looks up a PayPal user's PAYERID and returns some data. I use this data to create item and then add it to the user's "shopping cart" array of items.

The problem is, I don't know the user's PAYERID until *AFTER* SetPaymentDetails() is called, the array of items is passed, and the user authenticates at www.paypal.com

I have an idea and I'd like to know if it's possible ... if it is, I need someone to implement it. Here's the idea:

I'd like to modify the ExpressCheckout.php so that, when the user clicks "Checkout with Express Checkout" and signs in to PayPal, the script *first calls* "PayPal Permissions" GetBasicPersonalData() to fetch the user's PAYERID.

Then, my script will run, return a JSON response, create the item, and add it into the array of items the user is buying.

*THEN* WITHOUT ASKING THE USER TO REAUTHENTICATE (this is the part that I need to know if it's possible), continue the rest of the "Express Checkout" flow as usual (e.g. SetPaymentDetails() ... etc), so essentially you'd either need to use the same token -or-get two tokens at the same time or back-to-back.

I look forward to speaking with you.

---
Skills: paypal, english, json