Token based Payment Processing in Netsuite - token

Does anyone have any idea implementing Token based Payments in Netsuite. Instead of storing the CC in customer record for accepting payments, we want to tokenize the CC for accepting customer payments. We are using MeS gateway for our Payment transactions. I surf but didn't get any source relevant to the process/steps illustrating the use of tokens in Netsuite. Any help would be appreciated.
Thanks for your time!

Well, after waiting awhile and surfing here & there finally I got some reply from Netsuite folks stating :
Currently NetSuite does not support Tokenization with Merchant E Solution. We have an existing enhancement for this, Enhancement # 205234. NetSuite does support tokenization with regards to CyberSource.
To get a better undestanding how Tokenization works within NetSuite you can watch a short Video by visiting SuiteAnswers. SuiteAnswers article 'ERP: Payment Enhancements' ID: 41359. Just forward the video to 39:13 (Page 22).

Related

Use Tweepy to extract Twitter follower information (API incompatibility issues)?

I was following this tutorial, https://towardsdatascience.com/how-to-download-twitter-friends-or-followers-for-free-b9d5ac23812, which was written in 2021. It should've worked fine, however, they have to 'fix' the things that just work.
Specifically, running this line
for fid in Cursor(api.followers_ids, screen_name=screen_name, count=5000).items():
ids.append(fid)
gives the error:
"tweepy.error.TweepError: [{'message': 'You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve', 'code': 453}]"
I could have pulled the data in five minutes. Now debugging this already cost one hour+ because they just break the things that work. Is there anyway to make this old code snippet work? The application to use API 1.1 takes weeks, and I don't have time to watch their bad documents of how to migrate from API 1.1 to 2.0 and then the documents of migrating from Tweepy 3.9.0 to 4.0.0. Five minutes' task would just become half a day. Thanks in advance for any help.
First of all, have you at least tried to apply for the Elevated access?
It can take some time, it's true, but it can also be instantaneous.
The other solution would be to use the Twitter API V2.
You don't need any tutorial, just read the documentation:
Here for the authentication ;
Here for the retrieval of the followers ;
Here for the pagination.
And you should get something like that:
import tweepy
client = tweepy.Client("Bearer Token here")
paginator = tweepy.Paginator(
client.get_users_followers,
id=..., # ID only, no screename
max_results=1000
).flatten()
for follower in paginator:
print(follower.id)
Finally, even if I understand your frustration (and developing Twitter applications can be very frustrating), I think that you should try to keep it out your SO questions. Good luck!

how to get oauth client-id for steam?

I find this on official doc for client ID :
During your initial setup you will need to contact Valve with the following information:
What permissions you need the user to obtain. The required permissions are listed below with each API call.
The token lifetime.
The redirect URI to send the user back to after completing authentication/authorization.
In return, Valve will assign a Client ID for your implementation.
But they didn't mention how to contact valve for the same. I found many same questions on different platform but can't find any solution to this.
https://steamcommunity.com/oauth/login?response_type=token&client_id=client_id_here&state=whatever_you_want
I am little confuse in steam-ID and Client-ID. Are they the same? if not then how to retrive client-id from valve.
Sorry If i miss anything here
Answering my own question for someone's reference.
O-auth is not supported in stream any more, But official documentation is still there which is useless right now.
Need to implement it using Open-ID which is the only solution.
There are many PHP and other language's reference on git-hub.
If anyone need any help feel free to ask here i have implemented it successfully.
And also client-id and steam-Id are not same.

How to do the fastest connection between twitter and discord webhook?

I am new to coding and I am doing my own twitter monitor that will post all tweets from user that I set before to discord webhook. The thing I carry about the most is the delay between Tweet post time and discord webhook post time. How do you think I should do that script and what language should I learn? Does language even means when it comes to lagtime even if I set the same parameters? Do you have any tips to do it as fast as possible? Please lmk.
Language doesn't matter. Your bottleneck won't be processing the tweets. The bottleneck will be waiting for the tweets to arrive.
Python is a beginner friendly language since it doesn't require compilation and the syntax is less strict.
The fastest and most consistent way of getting tweets is through the Twitter API. More specifically through the statuses/filter endpoint.
I happen to have a project that does exactly what you are asking for.

Local twitter card validation

Is it possible for me to test twitter card validation from a local host? i.e. http://127.0.0.1:3000/
Cheers
It's not, the twitter validator must be able to access the code, and it can't if its local.
There are some free, limited hosting services, you should check some out if you don't have a server to try your code on right now.
EDIT: I just came across this other question on twitter cards: Twitter Card Validator error when in development
The OP's comment on the answer mentions him using https://ngrok.com/, this could be useful to you too

How to debug failed transactions with PayPal Express Checkout?

We're using PayPal Express Checkout (implemented in Ruby, Active Merchant gem)
A few transactions failed recently, while majority work fine.
I have looked at our log file and identified the user who had failed transactions.
I have the transaction token, PayerID, user's email address, correlation ID.
I have contacted PayPal technical support about this and provided them with the above details.
But I wonder if it's possible to get more information about these failed transactions myself.
Does the Ruby gem Active Merchant provide an easy way to get it from PayPal?
Thanks
The only information you really get back, is just basically what comes back in the API response. Sometimes this is enough to determine what the cause of the issue is, other times it requires a little bit more looking into and PayPal MTS would need to look into it.
There are a few things you can do here to harden the Express Checkout implementation:
Monitoring Error Code Responses
Express Checkout will send back a series of error codes on failed transactions. What you can do is monitor these specific error responses and that will give you an idea of what the problem with the transaction is, and in doing so you'll be able to respond accordingly (such as trying to transaction again). Here are the error code responses for Express Checkout: http://www.paypalobjects.com/en_US/ebook/PP_APIReference/Appx-ErrorCodes_and_Messages.html#2270815
Looking up Transaction Data
Besides the error codes, you can also use a GetTransactionDetails API operation to grab information about some transaction that might have had a problem. This will return some useful information that would help you to handle these cases as well. This information is available here: https://www.x.com/developers/paypal/documentation-tools/api/gettransactiondetails-api-operation-nvp
Hope that helps,
Jon

Resources