You are here

function commerce_stripe_get_txn_message_success in Commerce Stripe 7.3

A different success message needs to be displayed depending on whether the transaction is a authorization only transaction, or an auth capture transaction.

Parameters

bool $txn_capture_bool: Indicates whether or not the payment was captured.

Return value

string A success message for the strip transaction.

2 calls to commerce_stripe_get_txn_message_success()
commerce_stripe_cardonfile_charge in ./commerce_stripe.module
Card on file callback: background charge payment TODO: implement proper return codes per commerce payment
commerce_stripe_submit_form_submit in ./commerce_stripe.module
Payment method callback: checkout form submission.

File

./commerce_stripe.module, line 1951
This module provides Stripe (http://stripe.com/) payment gateway integration to Commerce. Commerce Stripe offers a PCI-compliant way to process payments straight from you Commerce shop.

Code

function commerce_stripe_get_txn_message_success($txn_capture_bool) {
  return $txn_capture_bool ? t('Payment completed successfully.') : t('Payment information authorized successfully.');
}