0

ここに置くために shippingPhone またはbillingPhone を渡すことができないようです

これは私のコードです

    $cardInput = array(
        'firstName' => 'John',
        'lastName'  => 'Doe',
        'billingAddress1' => 'My Address',
        'billingPhone'  =>  'XXXXXXX', //or the shippingPhone
        'billingCity'   =>  'Miami',
        'billingState'  =>  'Florida',
        'billingPostCode'   => '33133',
        'email'     =>  'email@gmail.com',
    );

    $card = Omnipay::creditCard($cardInput);
    $response = Omnipay::purchase([
        'amount' => '100.00',
        'returnUrl' => 'http://site.org/?return=success',
        'cancelUrl' => 'http://site.org/?return=canceled',
        'card' => $card,
        'description'=>'This is the description',
    ])->send();

私は何か見落としてますか?

4

0 に答える 0