Jump to content

Coupon to Credit


theway007

Recommended Posts

You can do it lo-tech by :

* add a product called $100 credit at a price of $100

* add a coupon for 100% of that product

and on accepting orders for it, use the manage credits link on the client summary

 

if you want to automate you'll be needing to use the API:

$command = 'addCredit';

$values['clientid'] = $tblclient['id'];

$values['amount'] = $amount;

$values['description'] = $desc;

$result = localAPI($command, $values, $apiadmin);

Link to comment
Share on other sites

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated