PHP-Programmierer chatten hier
Anonymous
Warum erhalte ich einen Syntaxfehler für PHP-Code für die Integration von Opayo PI?
Post
by Anonymous » 23 Dec 2024, 16:59
Das ist mein Code:
if (Secure3Dv2Notification::isRequest($_POST)) {
$secure3Dv2Notification = new Secure3Dv2Notification::fromData($_POST);
// If you need the sent session data, it can be found here:
$encThreeDSSessionData = $secure3Dv2Notification->getThreeDSSessionData();
$threeDSSessionData = base64_decode($encThreeDSSessionData);
$request = new CreateSecure3Dv2Challenge(
$endpoint, $auth, $notification, $transactionId
);
$response = $client->sendRequest($request);
$transaction = ResponseFactory::fromHttpResponse($response);
}
Ich erhalte diese Fehlermeldung:
Syntaxfehler, unerwarteter T-STRING, erwartet T_VARIABLE
Es ist diese Zeile:
$secure3Dv2Notification = new Secure3Dv2Notification::fromData($_POST);
Was ist daran falsch?
1734969573
Anonymous
Das ist mein Code: if (Secure3Dv2Notification::isRequest($_POST)) { $secure3Dv2Notification = new Secure3Dv2Notification::fromData($_POST); // If you need the sent session data, it can be found here: $encThreeDSSessionData = $secure3Dv2Notification->getThreeDSSessionData(); $threeDSSessionData = base64_decode($encThreeDSSessionData); $request = new CreateSecure3Dv2Challenge( $endpoint, $auth, $notification, $transactionId ); $response = $client->sendRequest($request); $transaction = ResponseFactory::fromHttpResponse($response); } Ich erhalte diese Fehlermeldung: Syntaxfehler, unerwarteter T-STRING, erwartet T_VARIABLE Es ist diese Zeile: $secure3Dv2Notification = new Secure3Dv2Notification::fromData($_POST); Was ist daran falsch?
0 Replies
3 Views
Last post by Guest
20 Jan 2025, 15:20
0 Replies
0 Views
Last post by Anonymous
Yesterday, 08:02
0 Replies
0 Views
Last post by Anonymous
Yesterday, 08:02
Sagepay/ Opayo 3Decure -API -Anrufe funktionieren nicht
by
Anonymous »
04 Feb 2025, 21:27 » in
C#
Meine Website verwendet die folgende API, um Zahlungen für unser Opayo -Konto zu verarbeiten >
Die Benutzerreise lautet wie folgt
Der Benutzer geht zum Kauf und gibt die Kartendaten ein
System...
0 Replies
1 Views
Last post by Anonymous
04 Feb 2025, 21:27
0 Replies
1 Views
Last post by Guest
14 Jan 2025, 10:23