Guest Posted February 4, 2003 Share Posted February 4, 2003 Hallo, I search a Paymant Modul for Firstgate. Ihave not the Know How to write this Modul. Can enybody write this Modul? Below is a descriptien from firstgate server. Here are the text: Diesen Premium-Link m?ssten Sie gegen Ihren Orginal-Script-Link tauschen. Daran h?ngen Sie dann alle Parameter per GET an. (z.B. email, username, userID?) Parameter, die wir zwingend brauchen, sind die folgenden: price=<euro,cent>oder<cent> (NUR BEI DYNAMISCHEN PREISEN) success=<success url,http:/.....> error=<error url,http://....> Der Parameter 'price' wird von uns beim Aufruf ausgelesen und dem Surfer zur Abrechnung angezeigt. Der Parameter 'success' wird von uns ausgelesen und im Erfolgsfall redirecten wir auf diese Url. Der Parameter 'error' wird von uns ausgelesen und im Nicht-Erfolgsfall redirecten wir auf diese Url. Die success- und error- Url m?ssen public sein. Im Idealfall ist die Success Url eine Dankeseite, die dem Surfer den Erfolg vermeldet. Nun zu den Aufgaben Ihres SCRIPT: (script darf nur ?ber unseren IP Raum aufrufbar sein) Hat der Surfer sich bei uns registriert, zeigen wir Ihm den Preis aus der Premium-Url an. Der Surfer klickt in der Bezahlseite bei uns den Akzeptieren-Button. Daraufhin rufen wir Ihr Script auf mit allen Parametern, die Sie an den Premium-Link angeh?ngt haben (GET). Ihr Script bucht nun den Betrag und andere Parameter, mit dem wir das Script aufgerufen haben. Das Script liest aus dem header der Firstgate Zwischenschaltseiten die Kundenreferenznummer Des Surfer aus. Bei Stornierungen kann man so den Abgleich zu Ihrer Datenbankk herstellen. Mit php kann man die Kundenreferenznummer so auslesen: <?PHP // output the crypted userid $userid = getenv("HTTP_X_USERID"); echo $userid; ?> Ihr Script sollte den Preis ?berpr?fen, checken, ob der Surfer den Preis ge?ndert hat in der Url. Wenn der Preis manipuliert wurde antwortet Ihr Script mit ERROR. (siehe unten, 'kein Erfolg') Nun gibt es zwei M?glichkeiten: 1) Die Buchung konnte von Ihrem Script nicht ausgef?hrt werden 2) Die Buchung wurde von Ihrem Script erfolgreich ausgef?hrt 1) kein Erfolg Das Script Antwortet mit ERROR im Content als text/plain oder text/html. Daraufhin redirecten wir zu der Error Url, die Sie uns im Parameter 'error' ?bergeben haben. Es wird keine Abrechnung erzeugt!!! 2) Erfolg Das Script Antwortet mit OK im Content als text/plain oder text/html. Daraufhin redirecten wir zu der Success Url, die Sie uns im Parameter 'success' ?bergeben haben. JETZT ERFOLGT DIE ABRECHNUNG. THX Michael Post Quote Link to comment Share on other sites More sharing options...
Jan0815 Posted February 4, 2003 Share Posted February 4, 2003 As this seems to be a specific german solution, you could ask the question in our german support forums. Find those on www.oscommerce.de. And it would be good if you can give us the URL from where you got the information. There may be detailed information there that we could use. Crossposting the same question in several forums will not really help in getting an answer ;-) - Please read our forum rules. HTH Quote You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
Jan0815 Posted February 4, 2003 Share Posted February 4, 2003 OK. I have just found your post on the german forum. Am I right when I understand from the site www.firstgate.de that this is not really a payment gateway in the classical sense, but more a payment method for HTML-pages, downloadable files etc.? I could not find any detailed developers information. Normally Payment gateways offer some sort of "Implementation Guide" or similar. A test-account where the payment module can work with is also quite often needed. Sometimes one must be a registered customer/developer to get these informations. If you have access to detailed information you can either send me the details or post them here (if allowed). Without more details and without a test-account it is not possible to implement a payment module. Quote You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2003 Share Posted February 4, 2003 hallo, i have postet this in the german forum but there was no answer:-( so i tried to post it here:-) the support of firstgate send me this information per email so i have no url of this info, but i can send you the email when you like this. sorry but my english is very bad :) the url of firstgate is http://www.firstgate.de best regards Michael Quote Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2003 Share Posted February 4, 2003 soory for Crossposting i have the first post in the wrong forum:-) thx Michael Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.