Eric Schultz
04/22/2025, 2:46 PMCeligo AI
04/22/2025, 2:46 PMAI generated answer (using internal Slack threads):In order to access the payment information in your SuiteCommerce theme template
order.wizard.confirmation
, you would need to use the getPaymentInfo
method from the OrderWizardModulePaymentMethod
module. This method returns an object that contains the payment method information, including the credit card used for the sales order.
Here is a sample code snippet on how you can use this method:
javascript
var OrderWizardModulePaymentMethod = require('OrderWizard.Module.PaymentMethod');
var paymentInfo = OrderWizardModulePaymentMethod.getPaymentInfo();
console.log(paymentInfo.creditcard);
This will log the credit card information used in the payment. Please note that this information might be sensitive and should be handled with care.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/22/2025, 2:47 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823518336
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813116789
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812846
Celigo AI
04/22/2025, 2:47 PM