• Resolved dennisdc

    (@dennisdc)


    Hello,

    Versions higher then 7.0.2 cannot use the class payment set or get description anymore.
    We are setting a specific OGM code when initiating a payment, how can we do this in the new versions? We don’t want to use the description from the formidable forms because it is generated on another location/service.

    For this we are using \Pronamic\WordPress\Pay\Payments\Payment $p1->description

    tnx

Viewing 1 replies (of 1 total)
  • Plugin Author Reüel

    (@pronamic_reuel)

    Seems you were using the description property directly. Please use the provided getter/setter methods instead.

    Get description:

    $description = $payment->get_description();

    Set description:

    $payment->set_description( $description );

Viewing 1 replies (of 1 total)

The topic ‘Get / set description new payment’ is closed to new replies.