-
When a customer clicks the BOKU button on your site, create a
Transactionobject that specifiesCarrierBillingas the payment method, and make aTransaction.authCapturecall. -
When that call returns, examine the status of the returned
Transactionobject. If the status is not a failure (Cancelled), it will beAuthorizedPending, which means that the Transaction is in the Subscribe and BOKU systems, and that it requires further action from the customer for completion. -
The returned
Transactionobject will also include aTransactionStatusCarrierBillingsubobject, which will include abuyUrlwhich the customer should be presented (or redirected to) in order to complete the transaction. Note: ThisTransactionincludes the BOKU Transaction ID in thenameValuesarray (name=provider_trx_id), which will prove useful when correlating Transaction data between your site and BOKU/Vindicia. -
Once the customer has followed the
buyUrl, and completes the BOKU payment, they will be redirected to the “Forward To Url After Purchase” URL that you included in your BOKU Service Configuration (or the “Forward To Url After Failed Purchase” URL if the payment attempt fails). -
You may verify the status of the
Transactionby re-retrieving the SubscribeTransactionobject, and verifying that the status is nowCaptured. (Note that there may be a delay between the time the payment process completes, and the time that BOKU notifies Vindicia about the status of the payment attempt.) You may also perform averify-trx-iddataRequestcall, which will retrieve the Transaction status information directly from BOKU (see below for details).
Using Carrier Billing for One-Time Transactions
Subscribe supports BOKU as a payment processor for Carrier Billing. Work with your BOKU representative to define your pricing structures, and to configure your account as a sub-merchant to Vindicia.
Before processing BOKU Transactions, you must create one or more services on the BOKU website which define your pricing schedule(s). When constructing these services, the “Forward To After Purchase” and “Forward To After Failed Purchase” attributes for each service must point to URIs at your site. The “Callback Url” must point to Vindicia. (Work with your Vindicia Client Services representative to define this URL.)
BOKU-based real-time transactions use the following payment flow:

