Closed ya-ya-it closed 4 years ago
I updated the plugin to the last version, and it starts to throw an error 'source_id is missing'. As I understand from the code, you changed the 'card_nonce' to 'source_id' field. This code is working for me.
$options = [ 'amount' => $amount, 'source_id' => $request->input('nonce'), 'location_id' => env('SQUARE_LOCATION_ID'), 'currency' => 'CAD' ];
Please, change the examples.
Fixed, thanks
I updated the plugin to the last version, and it starts to throw an error 'source_id is missing'. As I understand from the code, you changed the 'card_nonce' to 'source_id' field. This code is working for me.
$options = [ 'amount' => $amount, 'source_id' => $request->input('nonce'), 'location_id' => env('SQUARE_LOCATION_ID'), 'currency' => 'CAD' ];
Please, change the examples.