• Resolved isaakgeo

    (@isaakgeo)


    Hello,

    We have created a new payment method plugin for payments through bank/credit card.

    How can i set the payment method name so that it can display on the email sent to customer or after checkout? Right now it is blank.

    Thank you

Viewing 1 replies (of 1 total)
  • You should have something that looks a bit like this in your code:

        $nzshpcrt_gateways[] = array(
            'name'                   => 'Generic Gateway',
            'display_name'           => __( 'Pay With Generic Gateway', 'wpsc' ),
    (etc.)
    

    I think display_name is the one that you want but it’s been a few years since I worked on wpec gateways.

Viewing 1 replies (of 1 total)

The topic ‘Set Payment Method Name’ is closed to new replies.