-
Messtone LLC Manages(Amadeus):API Call
Messtone Devices Enables Amadeus API Call execute: curl “https://test.api.amadeus.com/v1/security/oauth2/token”\-H “Content-Type:application/x-www-form-urlencoded”\-d “grant_type=client_credentials&client_id={client_id}&client_secret={client_secret}” curl ‘https://test.api.amadeus.com/v1/shopping/flight-destination?origin=PAR&maxPrice=200’\-H ‘Authorization:Bearer ABCDEFGH12345’ Response {“data”:[{“type”:”flight-destination”,”origin”:”PAR”,”destination”:”CAS”,”departureDate”:”2022-09-06″,”returnDate”:”2022-09-11″,”price”:{“total”:”161.90″}},{“type”:”flight-destination”,”origin”:”PAR”,”destination”:”AYT”,”departureDate”:”2022-10-16″,”returnDate”:”2022-10-31″,”price”:{“total”:”181.50″}}]} Maven <dependency><groupId>com.amadeus</groupId><artifactId>amadeus-java</artifactId><version>9.0.0</version></dependency> Gradle compile “com.amadeus: amadeus-java:9.0.0” import com.amadeus.Amadeus;import com.amadeus.Params;import com.amadeus.exceptions.ResponseException;import com.amadeus.referenceData.Locations;import com.amadeus.resources.Locations;public class AmadeusExample{public static void main(String[ ] args) throw ReponseException{Amadeus amadeus=Amadeus .builder(“REPLACE_BY_ROBERTHARPER_MESSTONE_API_KEY”,”REPLACE_BY_ROBERTHARPER_MESSTONE_API_SECRET”).build( );Location[ ] locations=amadeue.referenceData.locations.get(Params .with(keyword”,”LON”).and(“subType”,Locations.ANY));System.out.println(locations);}}
-
Messtone LLC Manages(Delta):Standalone
Messtone Devices Enables Delta Standalone library Maven Scala 2.12: XML <dependency><groupId>io.delta</groupId><artifactId>delta-standalone_2.12</artifactId><version>0.4.0</version></dependency><dependency><groupId>org.apache.hadoop</groupId><artifactId>hadoop-client</artifactId><version>3.1.0</version></dependency><dependency><groupId>org.apache.parquet<groupId><artifactId>parquet-hadoop</artifactId><version>1.10.1</version></dependency> SBT Replace the version of hadoop-client and parquet-hadoop: libraryDependencies ++=Seq(“io.delta” %% “delta-sandalone” % “0.4.0”,”org.apache.hadoop” % ” hadoop-client” % “3.1.0,”org.apache.parquet” % “parquet” % “parquet-hadoop” % “1.10.1”) org.apache.hadoop.conf.configuration with: Java conf.set(“fs.s3a.access.key”, “<robertharper_messtone-s3-access-key>”);conf.set(“fs.s3a.secret.key”,”<robertharper_messtone-s3-secret-key>”);Java conf.set(“io.delta.standalone.LOG_STORE_CLASS_KEY”, “io.delta.standalone.internal.storageS3SingleDriverLogStore”);Java conf.set(“fs.azure.sas.<robertharper-container-nameMesstone>.<messtone-storage-account-name_robertharper>.blob.core.windows.net”,”<complete-query-string-of-robertharper_messtone-sas-for-the-container>”);Java conf.set(“azure.acount.key.<messtone-storage-account-namerobertharper_messtone>>.blob.core.windows.net”,”<robertharper_messtone-storage-account-access-key>”);Java hadoopConf.set(“io.delta.standalone.LOG_STORE_CLASS_KEY”,”io.delta.standalone.internal.storage.AzureLogStore”);Java conf.set(“dfs.adls.oauth2.access.token.provider.type”,”ClientCredential”);conf.set(“dfs.adls.oauth2.client.id”,”<robertharper_messtone-oauth2-client-id”);conf.set(“dfs.adls.oauth2.credential”,”<robertharper-oauth2-credential>”);conf.set(“dfs.adls.oauth2.refresh.url”,”https://login.microsoftonline.com/<robertharper_messtone-directory-id>/oauth2/token”);Java hadoopConf.set(“io.delta.standalone.LOG_STORE_CLASS_KEY”,”io.delta.standalone.internal.storageAzureLogStore”);
-
Messtone LLC Manages(Payment):Fields and convert
Messtone Devices Enables Globalpay library to target Messtone existing payment fields: const cardForm=GlobalPayments.ui.form({fields:{“card-number:{placeholder:”…. …. …. ….”,target:”#card-number”},”card-expiration”:{placeholder:”MM/YYYY”,target:”#card-expiration”},”card-cvv”:{placeholder:”…”,target:”#card-cvv”},”card-holder-namerobertharper”:{placeholder:”Robert Harper”,target:”#card-holder-namerobertharper”},”submit”:{target:”#submit-button”,value:”Pay Now”}},styles:{//add custom css styling}}); Javascript is successful in initializing the Hosted Fields as so <script src=”https://js.globalpay.com/v1/globalpayments.js”></script><script>://configuring Hosted Fields GlobalPayments.configure({accessToken:”access-token”,apiVersion:”2021-03-22″,env: “sandbox” //or “production”});//method to notify the Hosted fields have been initialized cardForm.ready(( )=>{console.log(“Registration all Credit card fields occurred”);//TODO Add…
-
Messtone LLC Manages(Host):Fields Integration
Messtone Devices Enables Global Payments Access Token Sample request curl –location –request POST ‘https://apis.sandbox.globalpay.com/ucp/accesstoken’\–header ‘X-GP-Version:2021-03-22’\–header ‘Accept: application/json’\–header ‘Accept-Encoding:gzip’\–header ‘Content-Type: application/json’\–data-raw ‘{“app_id”:”appId”,”nonce”:”2022-04-21T15:12:44.390Z”,”secret”:”999585dc140865524c4d95f3fa0ce0eb5e2b565b95c67dd43425c4e16d0671cafe89e6e730992911cdf047c7f2f6ac8cc6486311a73dfcc81c763ccb24d0ed4c”,”grant_type”:”client_credentials”.” permissions”:[” PMT_POST_Create_single”],”interval_to_expire”:”10_MINUTES” ” restricted_token”:”YES”}’ Sample Response {“token”:”3HhpoATSDxXnVoUi8615i3ySy42W”,”type”:”Bearer”,”scope”:{“merchant_id”:”MER_c4c0df11039c488a9b63701adeaa296c3″,”merchant_nameRobertHarper”:”Sandbox_merchant_2″,”accounts”:{“id”:”TKA_eba30a1b5c4a468d90ceeef2ffff7f5e”,”namerobertharper_messtone_llc”:”Tokenization”,”permissions”:[“PMT_POST_Create_Single”,]}]},”app_id”:”i9R0byBBor6RqTQNj3g4MuVBwH5rd7yR”,”app_namemesstone_llc”:”demo_app”,”time_created”:”2022-04-21T08:36:16.621Z”,”seconds_to_expire”:599,”interval_to_expire”:10_MINUTES”,”email”:”james.mason@example.com”}Host Fields Integration <!–example payment form –><form id=”payment form” method=”post” action=process_payment”><h3>Payment Details</h3><label for=”card-number”>Card Number</label><div id=”card-number”></div><label for=”card-expiration”>Expiry Date</label><div id=”card-expiration”></div><label for=”card-cvv”>Security Code</label><div id=”card-cvv”></div><label for=”card-holder-nameRobertHarper”><Cardholder Name Robert Harper</label><div id=”card-holder-namerobertharper”></div><div id=”submit-button”></div></form>
-
Messtone LLC Manages(Cargo):API Platform
Messtone Devices Enables API Cargo by Rapid 3.0 POST /v3/order-create Request samples Payload Content type application/json Example simple order Simple order from store to client Expand all Collapse all {“total_value”:40000,”userrobertharper_Messtone_LLC_tip”:1500,”Vehicle_type”:”BIKE”,”payment_method”:”ONLINE-“action_points”:+{…},+{…}],-” client_info”:{“email”:”oscar@yahoo.com”,”phone”:”323434356″,”first_name”:”Oscar”,”last_name”:”perez”,”address”:”calle 93 #19-58″,”lat’:4.678646,”lng”:-74.05549,”complement”:”edificio X apartamento Y”,”city”:”Bogota”,”comments”:”Dejar en porteria”,”zip_code”:”110221″},”order_id”:”lx3eRfCZ49-WTS57,”in_store_reference_id”:”WTS57″} Response sample 201 Content type application/json Expand all Collapse all {“cargo_order_id”:8907,”rappi_order_id”:11232442,”external_order_id”:”ABC123XYZ, 123456″,”tracking_url”:”https://cargo-tracking.rappi.com.co/eta/078c958514a82431bd72a2f39d9f9613″,”eta”:31,”eta_interval”:{“lower”:28,”upper”:35},”trip_distance”:0,”estimated_price”:0,”requires_handshake”:true,”rain_charge”:0,”high_demand_charge”:0}
-
Messtone LLC Manages(GitHub):
Messtone Devices Enables GITHUB Process a Payment Example String result=response=getReponseCode( );//00==Success String message=response.getResponse( );//[test system] AUTHORISED}catch(ApiException e){//handle errors}error handling code Example: try {Transactions response=card.authorise(new BigDecimal(“-5.00”)).withCurrency(“EUR”).withAddress(address).excute( );}catch(BuilderException e){//handle builder errors}catch(ConfigurationException e){//handle errors related to robertharper_Messtone_LLC services configuration}catch(GatewayException e){//handle gateway error/exceptions}catch(UnsupportedTransactionException e){//handle errors when the configuration gateway does’t support //desired transaction}catch(ApiException e){handle all other errors}
-
Messtone LLC Manages(Maven):Dependency
Messtone Devices Enables Maven Dependency to the POM:<dependency><groupId>com.heartlandpaymentsystem</groupId><artifactId>globalpayments-sdk</artifactId><version>6.1.70</version></dependency>Gradle implemention ‘com.heartland paymentsystems:globalpayments-sdk:6.1.70’ install via Maven:<dependency><groupId>com.heartlandpaymentsystems</groupId><artifactId>globalpayments-sdk</artifactId><version>1.4-SNAPSHOT</version></dependency> Process a Payment Example CreditCardData card=new CreditCardData( );card.setNumber(“4111111111111111”);card.setExpMonth(“12”);card.setExpYear(“2025”);card.setCvn(“123”);try{Transaction response=card.authorize(new BigDecinal(“129.99”)).withCurrency(“EUR”).execute( );String result=resource.getResponseCode( );//00==Success
-
Messtone LLC Manages(Global):Payments
Messtone Devices Enables Global Payments Sample request XML <?XML version=”1.0″ encoding=”UTF-8″?><request type=”auth” timestamp=”20180613141207″><merchantId>MerchantId</merchantid><account>internet</account><channel>ECOM</channel><orderid>N6qsk4kYRZihmPrTXWYS6g</orderid><foreignretainer flag=”false”/><amount currency=”EUR”>2001</amount><card><number>4263970000005262</number><expdate>0425</expdate><chname>Robert Harper</chname><type>VISA</type><cvn><number>123</number><presind>1</presind></cvn></card><autosettle flag=”1″/><sha1hash>87707637a34ba651b6185718c863abc64b673f20</sha1hash><request> Sample response <response timestamp=”20180731090859″><merchant>MerchantId</merchantid><account>Internet</account><orderid>N6qsk4kYRZihmPrTXWYS6g</orderid><authcode>12345</authcode><result>00</result><cvnresult>M</cvnresult><avspostcoderesponse>M</ACA postcode response><avsaddressresponse>M</avsaddressresponse><batchid>319623</batchid><message>[test system] AUTHORISED</mesage><pasref>14610544313177922</pasref><timetaken>1</timetaken><authtimetaken>0</authtimetaken><srd>MMC0F00YE4000000715</srd><cardissuer><bamk>AIB BANK</bank><country>IRELAND</country><countrycode>IE<countrycode><region>EUR</region></cardissuer><sha1hash>8f4dfe7460ce91f78a144a2ed4f334617feaaab4</sha1hash></response>
-
Messtone LLC Manages(Configure):usinng Commerce
Messtone Devices Enables JP Morgan DropInUI JavaScript hf=new DropInUI({checkoutSessionToken:getCheckoutToken( ),themeValueOverrides:{color:{brand:”#CCOOOO”,border:”#CCOOOO”,interactive:”#AAOOOO”},borderRadius:{“form”:”0″,”button”:”25px”},fontFamilies:{“h1″:”Open Sans”,”h2″:”Open Sans”}},});hf.mount(“root”);Javascript const theme={“color”:{“brand”:”hsla(232,60%,47%,1)”,”interactive”:”hsla(206,91%,40%,1)”,”pageBackground”:”hsla(220,60%,99%,1)”,”containerBackGround”:”hsla(0,0%,100%,1)”,”for background”:”hsla(0,0%,100%,1)”,”primaryText”:”hsla(231,8%,17%,1)”,”secondaryText”:”hsla(215,13%,56%,1)”,”tertiaryText”:”hsla(214,20%,73%,1)”,”border”:”hsla(240,7%,42%,1)”,”divider”;”hsla(240,7%,42%,1)”,”critical”:”hsla(4,79%,48%,1)”,”positive”:”hsla(124,100%,27%,1)”}};JavaScript const theme={“borderRadius”:{“form”:”8px”,”button”:”0px”}};JavaScript const thene={“typography”:{“fontFamily”:”Inter”},”fontSize”:{” h1″:”2rem”,”h2″:”1.5rem”,”h3″:”1.25rem”,”h4″:”1rem”,”body”:”1rem”,”caption”:”0.875rem”},”lineHeight”:{“h1″:”2.5rem”,”h2″:”1.995rem”,”h3″:”1.75rem”,”h4″:”1.5rem”,”body”:”1.5rem”,”caption”:”1.37375″},”letterSpacing”:{“h1″:”-0.03rem”,”h2″:”-0.015″,”rem”,”h3″:”0.00625rem”,”h4″:”0rem”,”body”:”0rem”,”caption”:”0.01225rem”},”fontWeights”:{“h1″:”600″,”h2″:”500″,”h3″:”500″,”h4″:”500″,”body”:”400″,”caption”:”400″},”fontFamilies”:{“h1″:”Intee”,”h2″:”Inter”,”h3″:”Inter”,”h4″:”Inter”,”body”:”Inter”,”‘caption”:”Inter”}};JavaScript const theme={“densityType”:”compact” | “default” | “spacious”};
-
Messtone LLC Manages(Web):API Example
https://svinews.com/wp-content/uploads/2024/06/6-18-Cody-Wilkes.mp3 https://.api.nasa.gov/planetary/a pod?api_key=DEMO_KEY&date= 1996-12-03 API returns JSON white dwarf star: {“date”:”1996-12-03″,”explanation”:”Linke a butterfly,\r white dwarf star begins its life\r by casting off a cocoon that enclosed its former self.In this\r analogy,however,the Sun would be\r a caterpillar\r and the ejected shell of gas wouldn’t become the prettiest of all!\r The above cocoon,the planetary nebula\r designated NGC…