Having problem Charging cards with Paystack js - api

I have been trying to integrate Paystack for a while and I got stuck in the card charging phase. After submitting the form, my code returns and error that says readPin() is not defined. Paystack asked me to programmatically pass the pin provided by my customer and I don't even know what that is. What do they mean by the pin provided by customer? Will be glad if anyone can help?

what programming language are you using? What have you tried so far? It is best to provide a code sample and the exact response you get when you make the request.
(it's good practice to provide as much detail as possible when asking questions on StackOverflow.)
However, what I suppose it means is that when you collect the PIN provided by the customer, you should make a POST request to https://api.paystack.co/charge/submit_pin with the collected PIN.
Here is the API reference for that at https://developers.paystack.co/v1.0/reference#submit-pin.
You can also reach out directly to Paystack via your Paystack Dashboard > Get Help (on the bottom right corner) for quicker resolution.

Related

How can I make a new order/transaction done through the API show on the Square app

Online I allow customers to order, this causes an Order With Line Items to be uploaded and associated with a Transaction - that works great, exactly as I had hoped. The problem is that there is no notification on the Square App to let my operators know that there is a new order that has been paid.
As of right now, I have the workaround of texting the workers, but I feel like there should be an easy way to push this up to the app - what am I missing? Is this possible?
I am not using an online store, just the API. Thank you.
Unfortunately, sending order confirmation to the Point of Sale app from an API payment isn’t currently available for Square’s API.
We are constantly improving the product based on feedback like this, so I’ll be sure to share your thoughts with the API team.

Request a Blockchain API V2 to receive Payments

I don't know if this is the right place to ask this question, but I have a problem with the Blockchain API V2, I tried too many times to request it, but never getting an answer nor my API!? I don't know why.
I searched the web looking for people whom having the same problem as I am, but find nothing. Also I didn't find a way to contact them asking about the delay in giving a simple API code!.
So if anyone has a better idea please let me know.
As an addition I am going to use it in a thirdparty software, where I am not able to add other Bitcoin payments instead of Blockchain one.
I don't know why exactly, but they have become extremely strict as to who they give API keys now. Previously it was very easy, and now they heavily investigate the intended usage. I wouldn't be surprised if the reason has to do with gambling sites and scams that were using their API.
As for recommendations you can run your own node on a VPS or use another 3rd party API. The only one that is as easy to use as blockchain.info, but actually gives out API keys is block.io. The catch is the free version is severely limited. There's also blocktrail, and blockcypher.

instagram retrieve hashtag images - update June 1

I am aware of the update to Instagram apis. I have read through the documentation regarding fetching hashtag images. I'm confused regarding 2 points -
They have a section "Endpoints", which gives the url for fetching images using tags - https://api.instagram.com/v1/tags/{tag-name}?access_token=ACCESS-TOKEN
At the same time, when i try to submit for review (under Permissions Review section), in order to get access token, i get this message -
"This use case is not supported. We do not approve the public_content permission for one-off projects such as displaying hashtag based content on your website. As alternative solution, you can show your own Instagram content, or find a company that offers this type of service (content discover, moderation, and display)."
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis, at the same time i can find a lot of widgets still fetching hashtag images. How do they do that? Can anyone point me in the right direction?
The 2nd point makes me believe that Instagram has stopped sharing hashtag images to apis,
Correct. Instagram has made business decision to block most developers from accessing this content.
at the same time i can find a lot of widgets still fetching hashtag images.
This doesn't tell you much. They might have gotten their app approved for other purposes. Also it appears that Instagram has made some exceptions for big apps (like Tinder). Life is not fair.
How do they do that? Can anyone point me in the right direction?
You probably cannot. 99% of the use cases are not allowed and so they will reject your app if you try to submit it. Read this short article about what you can and cannot do with the new Instagram API
The other widgets you are talking about probably have presented Instagram with one of the valid use cases to fetch the data. They are able to get only the public content. This new restriction is probably a business decision. If you would still want to get the data you are looking for, you shopuld possibly go to a third party data provider who sell such data

Using Vb.Net and Square?

This is probably a stupid or easy question, but is it possible to use vb.net with the square app to accept and verify payments?
The Api for Square is here
https://docs.connect.squareup.com/api/connect/v1/#overview
But the functions only seem to relate to reporting. How do I offer a product for like $5 online using vb.net and use my Square App information to accept a payment online and then VERIFY they paid it? #1, can that be done? #2 Are there some code examples?
This is a timely question as Square just released a public playments API and updated the documentation a couple of days ago!
If you check back at connect.squareup.com, you'll see there's new documentation for the E-commerce APIs. It's a standard ReST-like HTTPS API, so you should be able to adapt the REST exmaple to VB and make the necessary requests yourself.
One vitally important thing to remember is that, as the documentation says, you should not pass the actual card details back to your own server. You'll want to follow the recommended path of obtaining card token (what Square calls a card_nonce) in JavaScript, then send that back to your VB server and charge it from there using the APIs.

Trello API since lastView

I don't know if this is the right place for this question but I hope anyone knows the answer!
I want to use the since=lastView option in https://trello.com/docs/api/board/.
Does anyone knows what this means exactly? The lastView for this special board via API or for this special board but for the user including the API or maybe the last view of the user at all and not on this special board.
Thanks, I couldn't find any information inside the trello documentation.
since=lastView is how the unread activity indicator is rendered in the Trello apps. The view is thus per board, but the routes that can update that record "views" are private. I would suggest using since with a date for most uses.