Call to undefined method createPayment()

Created on 1 September 2020, over 4 years ago
Updated 19 February 2025, about 2 months ago

I'm using Datatrans module ( latest version 8.x-1.0-beta1 ) with Commerce Recurring Framework (also latest version 8.x-1.0-beta5 ). Drupal version is 8.9.1.

When checkout process is completed subscription is created (for recurring product variations). But when I run cron and it should execute another payment (i.e. it's daily payment, one day passed, cron is executed so again user account should be charged) I get following error:

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\commerce_datatrans\Plugin\Commerce\PaymentGateway\Datatrans::createPayment() in Drupal\commerce_recurring\RecurringOrderManager->closeOrder() (line 157 of modules/contrib/commerce_recurring/src/RecurringOrderManager.php).

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇦🇹Austria golubovicm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024