I do not know if either of these issues are related or not.

Client's site is running Drupal 7.4, and using the Webform Module 7.x-4.12. When submitting incorrect credit card information, we only receive the message "The previous payment attempt seems to have failed. The current payment status is "Failed". Please try again!". When the credit card has been successful, we receive the redirect message as specified on the webform setup.

1. Is it possible to pass from Stripe a more specific messages through this module about why the transaction has failed?
2. Is it possible to append a confirmation/transaction ID from Stripe onto our confirmation page? If so, can this be a token so that we can append the code onto PDF form?

Any assistance you can provide would be appreciated.

Thank you,
Christopher

Comments

cmsrm created an issue. See original summary.

torotil’s picture

Hi,

all of this is possible but involves coding.

  1. For more specific error messages, all of the error-codes need to be mapped to a payment status. (declare statuses using hook_payment_status_info() and then set it properly in our payment method controller)
  2. Currently the ID from stripe is not stored. It is only used while executing the payment to get it's status. To achieve that you'd need to store it along-side the payment.
torotil’s picture

Status: Active » Closed (won't fix)

This seems to have lost traction. Closing as won’t fix.