title: paypal_link = null in a laravel Package: srmklive/laravel-paypal
body: <p>I have a Problem with the paypal_url in a laravel package: return null.</p>
  
  <p>I'm using this package: <a href="https://github.com/srmklive/laravel-paypal" rel="nofollow noreferrer">https://github.com/srmklive/laravel-paypal</a></p>
  
  <p>This is the output of the variable $response: </p>
  
  <pre><code>`array:3 [▼
    "type" =&gt; "error"
    "message" =&gt; ""
    "paypal_link" =&gt; null
  ]`
  </code></pre>
  
  <p>And the other output of $provider, return all my config: </p>
  
  <pre><code>ExpressCheckout {#309 ▼
    -client: Client {#307 ▼
      -config: array:8 [▼
        "curl" =&gt; array:2 [▼
          32 =&gt; 6
          64 =&gt; false
        ]
        "handler" =&gt; HandlerStack {#313 ▼
          -handler: Closure {#316 ▼
            class: "GuzzleHttp\Handler\Proxy"
            parameters: {▼
              $request: {▼
                typeHint: "Psr\Http\Message\RequestInterface"
              }
              $options: {▼
                typeHint: "array"
              }
            }
            use: {▼
              $default: Closure {#311 …}
              $streaming: StreamHandler {#317 …}
            }
            file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php"
            line: "49 to 53"
          }
          -stack: array:4 [▼
            0 =&gt; array:2 [▼
              0 =&gt; Closure {#319 ▼
                class: "GuzzleHttp\Middleware"
                parameters: {▶}
                file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Middleware.php"
                line: "54 to 69"
              }
              1 =&gt; "http_errors"
            ]
            1 =&gt; array:2 [▼
              0 =&gt; Closure {#320 ▼
                class: "GuzzleHttp\Middleware"
                parameters: {▼
                  $handler: {▼
                    typeHint: "callable"
                  }
                }
                file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Middleware.php"
                line: "148 to 150"
              }
              1 =&gt; "allow_redirects"
            ]
            2 =&gt; array:2 [▼
              0 =&gt; Closure {#321 ▼
                class: "GuzzleHttp\Middleware"
                parameters: {▼
                  $handler: {▼
                    typeHint: "callable"
                  }
                }
                file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Middleware.php"
                line: "27 to 43"
              }
              1 =&gt; "cookies"
            ]
            3 =&gt; array:2 [▼
              0 =&gt; Closure {#322 ▼
                class: "GuzzleHttp\Middleware"
                parameters: {▼
                  $handler: {▼
                    typeHint: "callable"
                  }
                }
                file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Middleware.php"
                line: "216 to 218"
              }
              1 =&gt; "prepare_body"
            ]
          ]
          -cached: Closure {#334 ▼
            class: "GuzzleHttp\Middleware"
            parameters: {▼
              $request: {}
              $options: {▼
                typeHint: "array"
              }
            }
            use: {▼
              $handler: RedirectMiddleware {#330 …}
            }
            file: "/Users/cuetodev/code/laravel-projects/ce-tickets/vendor/guzzlehttp/guzzle/src/Middleware.php"
            line: "55 to 68"
          }
        }
        "allow_redirects" =&gt; array:5 [▼
          "max" =&gt; 5
          "protocols" =&gt; array:2 [▼
            0 =&gt; "http"
            1 =&gt; "https"
          ]
          "strict" =&gt; false
          "referer" =&gt; false
          "track_redirects" =&gt; false
        ]
        "http_errors" =&gt; true
        "decode_content" =&gt; true
        "verify" =&gt; true
        "cookies" =&gt; false
        "headers" =&gt; array:1 [▼
          "User-Agent" =&gt; "GuzzleHttp/6.2.1 curl/7.54.0 PHP/7.0.17"
        ]
      ]
    }
    +mode: "sandbox"
    #post: Collection {#328 ▼
      #items: array:23 [▼
        "L_PAYMENTREQUEST_0_NAME0" =&gt; "Otra vez COn Pendejadas-general"
        "L_PAYMENTREQUEST_0_AMT0" =&gt; "82.28"
        "L_PAYMENTREQUEST_0_QTY0" =&gt; 2
        "L_PAYMENTREQUEST_0_NAME1" =&gt; "Puras Pendejadas-general"
        "L_PAYMENTREQUEST_0_AMT1" =&gt; "77.44"
        "L_PAYMENTREQUEST_0_QTY1" =&gt; 2
        "PAYMENTREQUEST_0_ITEMAMT" =&gt; 319.44
        "PAYMENTREQUEST_0_AMT" =&gt; 319.44
        "PAYMENTREQUEST_0_PAYMENTACTION" =&gt; "Sale"
        "PAYMENTREQUEST_0_CURRENCYCODE" =&gt; "USD"
        "PAYMENTREQUEST_0_DESC" =&gt; "Order #13 Invoice"
        "PAYMENTREQUEST_0_INVNUM" =&gt; "CETICKETS_13"
        "NOSHIPPING" =&gt; 1
        "RETURNURL" =&gt; "https://ce-tickets.dev/payment/success"
        "CANCELURL" =&gt; "https://ce-tickets.dev/order/cancel"
        "LOCALE" =&gt; "en_US"
        "L_BILLINGTYPE0" =&gt; "MerchantInitiatedBilling"
        "L_BILLINGAGREEMENTDESCRIPTION0" =&gt; "Order #13 Invoice"
        "USER" =&gt; "xxx"
        "PWD" =&gt; "xxxx"
        "SIGNATURE" =&gt; "xxxx"
        "VERSION" =&gt; 123
        "METHOD" =&gt; "SetExpressCheckout"
      ]
    }
    -config: array:11 [▼
      "username" =&gt; "xxxx"
      "password" =&gt; "xxxx"
      "secret" =&gt; "xxxx"
      "certificate" =&gt; ""
      "app_id" =&gt; "APP-xxx"
      "signature" =&gt; "xx"
      "api_url" =&gt; "https://api-3t.sandbox.paypal.com/nvp"
      "gateway_url" =&gt; "https://www.sandbox.paypal.com"
      "payment_action" =&gt; "Sale"
      "notify_url" =&gt; ""
      "locale" =&gt; ""
    ]
    -currency: "USD"
    -options: []
    -paymentAction: "Sale"
    -locale: "en_US"
    -apiUrl: "https://api-3t.sandbox.paypal.com/nvp"
    -notifyUrl: ""
    -httpBodyParam: "form_params"
  }
  </code></pre>
  
  <p>I don't know what I doing bad, Just I'm follow the documentation of the package. But Something should be wrong. Someone can help me?</p>