Jump to content

JinVan

Member
  • Posts

    1
  • Joined

  • Last visited

About JinVan

JinVan's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I want to use the External API function - 'Add Order' to create a order, additionally, use a promocode to override the price of the product . As expected, it will create a order with the override price . But Actually , it create a order and override the price both product and domain. I only want to override the price of product. It works fine with the WHMCS, but it get wrong with my own website. I forget some parameters ? or I use the API in a wrong way? anyone can help me? The Add Order function parameters like this: username=xxx password=xxx responstype=json action=addorder clientid=x pid=x paymentmethod=paypal billingcycle=annually domain=xxx.com domaintype=register regperiod=1 dnsmanagement=on idprotection=on promocode=xxxx The promocode settings like this: Promotion Code=xxxx Type=Price Override Value=100 Applies To=xxx(only applies to my product) Billing Cycles=Annually(for Products/Services)/10 Years(for Domains because I don't want it applies to the domains registered one year) Apply Once=checked other setting is default And I set the product to offer a free domain registration/transfer only (renew as normal), and set the price of ID Protection to $30 So, the right result is : I buy a product with a price of $300, choose a domain(free) and its ID Protection of $30, at the admin area, I will see a order which has a product of $100 and a free domain and ID Protection of $30 ,the total amount will be $130, but I get the total amount of $200, seems that it price override twice.
×
×
  • 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