Photo Shop Cart :: Feature Request Photo Shop Cart :: Feature Request
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Photo Shop Cart :: Feature Request

Started by Jeremy Rasmussen, July 31, 2006, 09:47:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeremy Rasmussen

(Looking in the general direction of Stramm) :)

The Photo Shop Cart works great.  Now I'm wondering if we can add a feature...

At checkout, where the order is reviewed where you click the submit button that saves to the database and sends the email, would it be possible to add an extra step that carries the order total data to a type of payment solution?  In my case that would be Pay Pal however I'm sure there are other automated payment gateways this could work with.

I believe it would require the interation of Pay Pal's "Buy It Now" feature wich only requires some basic information, specifically the total price and the email address to where the money is going and then Pay Pal collects the rest of the data.

Buy it now code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="you@youremail.com">
<input type="hidden" name="item_name" value="Item Name">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="0.00">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>


I figure by replacing
<input type="hidden" name="amount" value="0.00">
in paypal's code with the global $tot_price so it's
<input type="hidden" name="amount" value="$tot_price">
it should work, assuming we have placed all the code in the correct place, right?

anyway, please consider. I am willing to help work on the code however I'm not experienced enough to take on the project on my own.

Thanks,

Jeremy

P.S. If this is posted in the wrong section I apologize in advance

Stramm

of course it's possible... I'd even say it's easy to do. In the file photo_shop_checkout.php you can do whatever you want. Totally remove the contents and write your own checkout script. Use the existing one and just remove the email confirmation and pass the data to some billing solution...

I'd use the existing checkout and let it pass the data to your biller somwher below
if (photoshop_add_data($shop_array, $order_id))
here the shop has added the necessary data to it's own database.

Nice is some extra to catch biller feedback (most have some cgi that passes data back [when paid])--- this you can let your script grab and add it to the db, the script sends you an email that a client has paid and you should take care of sending the items.

If you ask me to do that... I'll have to say no. I do not use any third party biller atm and therefore I'm not able to test things.

sklndr

Is there a way or a hack for the cart in order to make the cart options specific to the product? I have different price ranges for different categories of prints..  any help would be appreciative.. thx in advanced

BikiniPhotoBank

about making the plug in work with paypal, did the above hack work? Do i need to do anything else besides these changes?
When I go to the shop admin to view the orders they do not list the file names of the photos ordered is this normal or did i mess it up somehow?
Please help!

Joachim Müller

A feature request thread is just that: you request a feature for future versions. It is not a support thread, don't expect immediate answers. We're not Santa Claus, you can not just wish for code to be created and we will do so no matter what.

Stramm

I was thinking about adding that for a long time.
Finally some sort of gatway is implemented now in Photo Shop v1.2. Also two bugs related to the shipping costs addition have been fixed.

It needs some testing first... so I'm looking for volunteers to do just that. If you're interested PM me with your email addy

Stramm



Stramm


KlausH