Untitled

 avatar
unknown
plain_text
3 years ago
1.1 kB
29
Indexable
$params = [
            'transaction_details' => [
                'order_id' => $this->orderData['invoice_id'],
                'gross_amount' => $this->orderData['total_cost'],
            ],
            'item_details' => $this->orderDetails,
            'customer_details' => [
                'first_name' => $this->customerIdentity['customer_name'],
                'email' =>  $this->customerIdentity['customer_email'],
                'phone' => $this->customerIdentity['receiver_phone'],
                'shipping_address' => [
                    'first_name' => $this->customerIdentity['receiver_name'],
                    'phone' => $this->customerIdentity['receiver_phone'],
                    'address' => $this->customerIdentity['receiver_address'],
                    'city' => $this->customerIdentity['receiver_city'],
                    'postal_code' => $this->customerIdentity['receiver_postal_code'],
                ]
            ],
            'callbacks' => [
                'finish' => 'http://tokorps-project.test/payments/finish'
            ]

        ];
Editor is loading...