Hi, by some reason, I need to generate card from command line. I am trying to do that with the curl command. I am currently using a Elastix with CentOS and I manually installed A2billing 1.7.1.
I am trying to do like this:
curl 'A2B_entity_card_multi.php' -d 'parameters'
what parameters shall I pass in here? I only need to generate one customer per time with 0 dollar value and a specific call plan. more importantly, will the php file show me the info of the account generated after it is executed? I need to prompt the info to the user, at least their web UI account and passwd.
thx in advance.
=================================================================================================
add on, I tried with the following parameters:
cardnumberlenght_list=10&nb_to_create=1&choose_tariff=1&addcredit=0&choose_simultaccess=0&choose_currency=SGD&choose_typepaid=0&creditlimit=0&enableexpire=0&expirationdate=2020-06-07+11%3A31%3A41&expiredays=0&runservice=0&tag=&id_group=1&discount=0&id_seria=&id_didgroup=0&action=generate
but seems doesn't work, and I am getting error from yahoo saying bad request.
any idea?
================================================================================================
a bit more add on, actually I don't need exchange rate service. since my service only take in our local currency. Where could I disable the yahoo service and fix the currency to one type?
|