Knowledgebase
Search the knowledgebase
 Information
 Knowledgebase
 Manual & FAQ's
 Setting up payments
 Downloadable styles
 Contact us
 Shop Maker Homepage

Stock settings



Control Panel >> Stock control management >> Stock settings

Manual
When this is set to manual, your stock quantities are adjusted when you confirm an unconfirmed order.

Automatic
When set to automatic, your stock levels will be adjusted automatically.
To make this work, the www.yourdomain.com/shop/callback.php page needs to be called when a successful transaction has taken place. Most Payment Service Providers offer some sort of callback feature, which needs to be configured to send the shopper back to your shop after they have paid.
The callback script is currently configured to work with the following Payment Service Providers:
WorldPay, SecPay, MetaCharge, VelocityPay, PayPal.

PayPalAutomatic Stock Adjustment with PayPal
To enable callback from PayPal, do the following:
Log in to your PayPal account and go to:
Profile >> Selling Preferences >> Instant Payment Notifications.
Check the enable box and provide a URL on your site that you want IPN to post to.
This should be http://www.yourshop.com/
The reason you don't use the callback URL is that the stock level would be adjusted twice, once by the IPN callback and once when the shopper is returned to the PayPal "return" url
Also add a return URL to your Payment Gateway HTML in the Shop Maker administration:
<input type=hidden name="return" value="http://www.yourshop.com/shop/callback.php">
The ordernumber is automatically returned in the item_name variable passed back by PayPal because IPN is enabled.

Callback Settings

Update order status
When set to "y", the status of the order will be set to confirmed when the callback script is called.

Override PSP authorisation status
When set to "y", the authorisation status the payment service provider sends back to the callback script will be overridden. If you are allowing a shopper to confirm their own order by providing a link to the callback script, this needs to be set to "y".

Success text
This text is displayed on the callback page when a successful transaction has been placed. It will be displayed above the order details.

Failure text
This text is displayed if a transaction has failed.


Pre-order information:
If you would like to adjust your stock levels before the shopper has paid, simply add a link or a graphic to your Payment HTML that points to the callback script.
The code below will automatically produce the order number when pasted into the Payment HTML form in your administration.
Eg:


Click here to confirm your order



FAQ's

Currently there are no FAQ's for this section.


Copyright © 2006 Red Eye Media. All rights reserved. www.shopmaker.co.uk
Valid HTML 4.01