Article ID: 111208, created on Apr 28, 2011, last review on May 8, 2014

  • Applies to:
  • Business Automation 5.0

Symptoms

Sales, Renewal, Upgrade or Billing Orders stuck in "NP" - "No Payment Method attached" status and do not go out of the status even after customer pays orders.

Resolution

NOTE 1: The solution can be applied only for the Default Order Flow or an Order Flow which matches the Default one around "OP", "NP" and "I3" satuses on all Order Types. Please check this before any reconfiguration.

NOTE 2: Please log your activity in a text file - which transitions you removed, which added and which modified. For modified transitions please keep trace of the original value in the fields.

NOTE 3: Order Flow transitions are specified for each Order Type using S1->S2/S3, "Type" form, where S1 - From Order Status, S2 - Success Order Status, S3 - Fail Order Status, "Type" - transition type - "Manual", "Auto" or "On Event".


I. RECONFIGURE PROVIDERS ORDER FLOW
Go to Top > Configuration Director > Order Processing > Order Types. Follow the steps below for each Order Type mentioned.

Sales Order

1. Remove the following transition:

TV->I3/NP, "On Event"

2. Add new transition:

TV->NP/NP, "Auto" with the following details:

Order Type             SO Sales Order

From                   TV Manual Customer Account Verification is not required

Success                NP Payment Method not Attached

Fail                   NP Payment Method not Attached

Condition              <empty>

Order Flow Handler     <empty>

Transition Type        Auto

Action                 Proceed to Payment Creation

Success Template Name  <empty>

Fail Template Name     <empty>

3. Remove the following transition:

NP->OP/NP, "Manual"

4. Add new transition:

NP->I3/NP, "On Event" with the following details:

Order Type             SO Sales Order

From                   NP Payment Method not Attached

Success                I3 Payment Method is assigned

Fail                   NP Payment Method not Attached

Condition              <empty>

Order Flow Handler     OF_CreatePaymentExc

Transition Type        On Event

Action                 Create or Assign Payment

Success Template Name  <empty>

Fail Template Name     <empty>


Renewal Order

1. Find the following transition:

NP->I3/NP, "Manual"

2. Edit the transition. Set the following data there:

Order Flow Handler     OF_CreatePaymentExc

Transition Type        On Event

3. Save changes.



Billing Order

1. Remove the transition:

IC->OP/NP, "Auto"

2. Add new transition:

IC->NP/NP, "Auto" with the following details:

Order Type             BO Billing Order

From                   IC Invoice Created

Success                NP No Payment Method Attached

Fail                   NP No Payment Method Attached

Condition              <empty>

Order Flow Handler     <empty>

Transition Type        Auto

Action                 Proceed to Payment Creation

Success Template Name  <empty>

Fail Template Name     <empty>

3. Add new transition:

NP->OP/NP, "On Event" with the following details:

Order Type             BO Billing Order

From                   NP No Payment Method Attached

Success                OP Open

Fail                   NP No Payment Method Attached

Condition              <empty>

Order Flow Handler     OF_CreatePaymentExc

Transition Type        On Event

Action                 Create or Assign Payment

Success Template Name  <empty>

Fail Template Name     <empty>


Upgrade Order

1. Remove the transition:

OP->I3/NP, "Auto"

2. Add new transition:

OP->NP/NP, "Auto" with the following details:

Order Type             UP Upgrade Order

From                   OP Open

Success                NP No Payment Method Attached

Fail                   NP No Payment Method Attached

Condition              <empty>

Order Flow Handler     <empty>

Transition Type        Auto

Action                 Proceed to Payment Creation

Success Template Name  <empty>

Fail Template Name     <empty>

3. Find the following transition:

NP->I3/NP, "Manual"

4. Edit the transition. Set the following data there:

Order Flow Handler     OF_CreatePaymentExc

Transition Type        On Event

5. Save changes.


II. RECONFIGURE ORDER FLOW TEMPLATE
Now go to Top > Configuration Director > Order Processing Settings > Order Flow Templates > Default Order Flow
Repeat the steps above for each Order Type mentioned.


III. PROPAGATE CHANGES TO ALL RESELLERS
For each reseller, who uses the Default Order Flow template, do the following:
1. Open Top > Operation Director > Account Manager > Resellers > Reseller.
2. Navigate to "Order Flow Template" tab.
3. Press "Assign New Order Flow Template".
4. Leave "Default Order Flow" selected - change nothing.
5. Press "Save".


IV. REGISTER THE HOTFIX
Register the hotfix on the customer installation
1. Connect to PBA APP server via SSH.
2. Enter ~bm/tools directory:
# cd /usr/local/bm/tools/
3. Execute:
# perl -e "use strict; use db; use pba; db::connect(); db::do(\"INSERT INTO \\\"AddOn\\\" values ('PBA  5.0.1-276 HF 111208','HotFix','5.0.1-276','5.0.2-039',1,(SELECT extract('epoch' from now())))\"); db::commit();"

198398b282069eaf2d94a6af87dcb3ff d863a37023d0fbc15b909ef836e29214 92711db0799e8aefe8e51f12dace0496 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF