[Spce-user] Problem Creating Customers/Resellers

Koot Pienaar koot at ntelecom.co.za
Wed May 17 11:05:21 EDT 2017


What would be best practise? 

Create resellers first then billing, contacts and customers? Or what order and procedure would work best? 

⁣Sent from TypeApp ​

On 17 May 2017, 16:44, at 16:44, Rene Krenn <rkrenn at sipwise.com> wrote:
>>Now i want to create a customer for the reseller. So i select create
>customer, i then select my contact and billing profile and click save. 
>
>Create a separate contact for each customer, or make sure for to choose
>an
>existing contact *belonging to your newly created reseller*.
>
>An additional check for this was introduced by commit
>35bad60d2ed0776ae5a76bce7ca54ba55d502353 in ngcp-panel master three
>weeks
>ago.
>
> 
>
>Also the billing profile you use is also supposed to belong to your new
>reseller, so make sure to prepare billing profiles per reseller
>separately
>before.
>
> 
>
>regards
>
> 
>
>Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag
>von
>Koot Pienaar
>Gesendet: Mittwoch, 17. Mai 2017 15:51
>An: Spce-user at lists.sipwise.com
>Betreff: [Spce-user] Problem Creating Customers/Resellers
>
> 
>
>Hi Guys
>
> 
>
>I am trying to create a reseller, with customers and subscribers.
>
> 
>
>I create Reseller 1 from the resellers page. Then i create a new
>contract
>from the dialog box for creating reseller, but then i select create
>contact
>from the create contract page.
>
> 
>
>I save the contact, select the contact then save the contract. 
>
> 
>
>I then select the new contract and Create my reseller.
>
> 
>
>Now i want to create a customer for the reseller. So i select create
>customer, i then select my contact and billing profile and click save.
>Then
>i get error, Failed to create customer contract [14BF6018FA287110], my
>panel
>log shows the output below:
>
> 
>
>', 'billing_profiles.0.row.network_id' => '', 'status' => 'active',
>'billing_profiles.0.start' => '', 'billing_profile_definition' => 'id',
>'billing_profile.id' => '1', 'invoice_template.id' => '',
>'billing_profiles.0.row.profile_id' => '', 'vat_rate' => '0',
>'external_id'
>=> '', 'invoice_email_template.id' => '', 'passreset_email_template.id'
>=>
>'', 'contact.id' => '7', 'billing_profiles.0.end' => '', 'save' =>
>'Save',
>'profile_package.id' => '', 'subscriber_email_template.id' => ''}
>MSG="Failed to create customer contract ({UNKNOWN}: Can't call method
>"id"
>on an undefined value at
>/usr/share/perl5/NGCP/Panel/Utils/ProfilePackages.pm line 538. at
>/usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 526#012)" LOG=""
>
> 
>
>It looks like it is because the contact does not have a reseller
>assigned to
>it. But when trying to edit the contact to assing reseller there is no
>option to do so. When i manually create a contact and not from the
>Reseller
>creation page this does not happen but this is a catch 22. I cannot
>assign a
>reseller to the contact if it is not created yet. I also cannot create
>reseller without contact.
>
> 
>
>How can i overcome this? Or am i doing something wrong?
>
> 
>
>Regards 
>
>Koot Pienaar
>
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170517/7754fc8f/attachment-0001.html>


More information about the Spce-user mailing list