Plugin Directory

Changeset 3014526


Ignore:
Timestamp:
12/27/2023 05:58:02 AM (2 years ago)
Author:
chaifinport
Message:

adding customer details object for email & sms confirmation notifications

Location:
chaiport-payment/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chaiport-payment/trunk/chaiportGateway.php

    r2948491 r3014526  
    44 * Plugin URI:        https://www.docs.portone.cloud/plugins_and_sdks/woocommerce-plugin.html
    55 * Description:       Single Payment
    6  * Version:           2.0.8
     6 * Version:           2.0.9
    77 * Requires at least: 5.6
    88 * Author:            PortOne
     
    839839                    "default_guest_checkout" => $this->getOptionBool('default_guest_checkout'),
    840840                    "environment" => $environment,
    841                     "source" => "woocommerce"
     841                    "source" => "woocommerce",
     842                    "customer_details" => array(
     843                        "email_address" => $order->get_billing_email(),
     844                        "phone_number" => $order->get_billing_phone(),
     845                        "name" => $order->get_billing_first_name() . " " . $order->get_billing_last_name()
     846                    )
    842847                );
    843848            } else {
     
    861866                    "default_guest_checkout" => $this->getOptionBool('default_guest_checkout'),
    862867                    "environment" => $environment,
    863                     "source" => "woocommerce"
     868                    "source" => "woocommerce",
     869                    "customer_details" => array(
     870                        "email_address" => $order->get_billing_email(),
     871                        "phone_number" => $order->get_billing_phone(),
     872                        "name" => $order->get_billing_first_name() . " " . $order->get_billing_last_name()
     873                    )
    864874                );
    865875            }
  • chaiport-payment/trunk/readme.txt

    r2948491 r3014526  
    44Requires at least: 3.9.2
    55Tested up to: 6.1.1
    6 Stable tag: 2.0.8
     6Stable tag: 2.0.9
    77Requires PHP: 5.6
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.