Quick Laravel - Stripe Standard Connect Bug Fix

Job ID: 37908225

Budget: $30 – $250 AUD

I am needing a proficient Laravel developer to quickly rectify an error in my Laravel 7 application. When trying to connect to Stripe Connect, I'm being met with a "Response is false" error.

Only apply you gave following experience:
* Laravel
* Stripe Standard
* Built a marketplace platform where you need to use stripe Standard.


When applying:
Tell when which stripe Standard API you used and which marketplace platform you built.





What I'm needing from you:
- Determine the cause of the "Response is false" error in the Stripe Connect integration.
- Swiftly implement a solution to fix this error.
- you would need to log into my AWS test server directly to debug (you need to setup script to test our do curl calls)

Our works gives locally. However, same API gives false response from our test server.

This is when we can the API that connects the standard stripe account to our platforms account.

This is our code snippet:

function strip_connect_curl($code, $api_key)
{

$curl = curl_init();

curl_setopt_array(
$curl,
array(
CURLOPT_URL => 'https://connect.stripe.com/oauth/token',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => '{
"code":"' . $code . '",
"grant_type":"authorization_code"
}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer ' . $api_key,
'Content-Type: application/json',

),
)
);

$response = curl_exec($curl);

curl_close($curl);
return $response;

}




Ideal freelancer:
- Has extensive Laravel experience
- Has prior experience working with Stripe Connect.
- AWS experience on console


Need to work on it on Saturday where my developer can be there for live support.
Related categories: Laravel Stripe