Change record status: 
Project: 
Introduced in branch: 
7.x-1.x
Introduced in version: 
7.x-1.12
Description: 

payment_form_embedded() set payment_form_embedded_validate() as a callback using #element_validate. The callback is no element validation callback, but a form validation callback (those accept different arguments). payment_form_embedded() now sets the callback using #validate instead. If your calling code does not use the elements as the top level of a form, the #validate callback must be transferred to the form manually.

As of Payment 7.x-1.12, payment_form_embedded_validate() is now an #element_validate callback again.

Impacts: 
Module developers