A PHP Error was encountered

Severity: Notice

Message: Undefined variable: user_id

Filename: controllers/Slcheckout.php

Line Number: 2554

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2554
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: old_order_id

Filename: controllers/Slcheckout.php

Line Number: 2554

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2554
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: course_id

Filename: controllers/Slcheckout.php

Line Number: 2554

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2554
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: batch_id

Filename: controllers/Slcheckout.php

Line Number: 2554

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2554
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Slcheckout.php

Line Number: 2560

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2560
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: order_description

Filename: controllers/Slcheckout.php

Line Number: 2561

Backtrace:

File: /home/jtmain/public_html/studyportal/controllers/Slcheckout.php
Line: 2561
Function: _error_handler

File: /home/jtmain/public_html/index.php
Line: 309
Function: require_once

400{"name":"VALIDATION_ERROR","message":"Invalid request - see details","debug_id":"61be07e39acbd","information_link":"https://developer.paypal.com/docs/api/payments/#errors","details":[{"field":"/transactions/0/amount","location":"body","issue":"Cannot construct instance of `com.paypal.platform.payments.model.rest.common.Amount`, problem: INVALID_CURRENCY_AMOUNT_FORMAT"}]}PayPal\Exception\PayPalConnectionException: Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment. in /home/jtmain/public_html/studyportal/third_party/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:207 Stack trace: #0 /home/jtmain/public_html/studyportal/third_party/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(78): PayPal\Core\PayPalHttpConnection->execute('{"intent":"sale...') #1 /home/jtmain/public_html/studyportal/third_party/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(104): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/payments/pa...', 'POST', '{"intent":"sale...', Array) #2 /home/jtmain/public_html/studyportal/third_party/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php(571): PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/pa...', 'POST', '{"intent":"sale...', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall)) #3 /home/jtmain/public_html/studyportal/libraries/Paypal.php(512): PayPal\Api\Payment->create(Object(PayPal\Rest\ApiContext)) #4 /home/jtmain/public_html/studyportal/controllers/Slcheckout.php(2565): Paypal->create_payment('paypal', 'https://www.jan...', 'https://www.jan...', NULL, NULL, 'sale') #5 /home/jtmain/public_html/system/core/CodeIgniter.php(532): Slcheckout->payViaPaypal() #6 /home/jtmain/public_html/index.php(309): require_once('/home/jtmain/pu...') #7 {main}