Charge Pending

###How to charge a pending sale

Payment page

Charge with changes (Different customer details or amount)

SaleChargeToken method

This option will give a full flexibility for the charge, in this case all customer details and order info will need to be saved on the server side after the J5 is created so it can be sent again with the relevant changes in the charge of the J5.

Send in request parameters:

'SaleType'

1 = for immediate transaction

'J5CustomerTransactionId'

Send the original CustomerTransactionId (returned in the pending sale details)

'AuthNum'

Send the approval number of the credit card company (returned in the pending sale details)

🚧

This values should be saved in advanced on the server side after the pending sale was created - they will return to the merchant in the IPN message/method SaleDetails response.

After the charge will receive a success status, a new line of the charge will be added in iCredit management sales report and appear after the existing line of the pending sale.

Sales Report (דו"ח מכירות)

Transactions report (דו"ח עסקאות)


Charge without changes

ChargePendingSale method

A simple and quick option of a J5 charge, in this case only the Sale identifier will need to be saved on the server side.

Send one of the original sale identifiers in the request:

'SaleId'

or

'SalePrivateToken'

🚧

This values should be saved in advanced on the server side after the pending sale was created - they will return to the merchant in the IPN message/method SaleDetails response.

After the charge will receive a success status, the existing line of the pending sale will be changed from status pending (ממתינה) to paid (חויבה).

Sales Report (דו"ח מכירות)

Transactions report (דו"ח עסקאות)


Direct Payment

ChargeSimple method

Send request parameters:

'ParamJ'

0 = for immediate sale (or not send the parameter at all)

'J5CustomerTransactionId'

Send the original CustomerTransactionId (returned in the pending sale details)

'AuthNum'

Send the approval number of the credit card company (returned in the pending sale details)

🚧

The parameters values should be saved in advanced after the pending sale was created - the info will return in ChargeSimple/Full response.

Transactions report (דו"ח עסקאות)