OmniPay support for 2checkout API token payments? - omnipay

Does anyone know how / if it is possible to use token billing? The 2Checkout API supports it and OmniPay supports token billing, but I've not had much luck and a quick look at the Official Gateway code doesn't seem to show support for it?
Anyone doing this / have any idea?

I can categorically state that it's possible to use token billing, I do so regularly. I'm not that familiar with 2Checkout but I have used token billing on stripe, paypal, PaymentWall, MultiCards, Fat Zebra and other gateways.
Is there a specific problem you're having that you can illustrate with some example code?

Does 2Checkout support token billing? Yes, and it works. However, there are some quirks with it:
You have to turn Demo Mode off on the dashboard or the 2Checkout and OmniPay API doesn't seem to work properly.
You have to send a Billing Address in order for the transactions to go through. If that doesn't work for you, such as for digital downloads, then you'll want to consider another payment gateway.
The billing address must contain a customer email and cannot be empty. Again, if that doesn't work well in your sales workflow, then you'll want to consider another payment gateway.
The billing address must contain a phone number, but CAN be empty.
I discuss this here as well as provide an OmniPay sample code snippet: https://stackoverflow.com/a/36807292/105539
Take a look at my project, TokenPay. I've weeded through the confusing docs and got it working on 2CO.
P.S. Don't ever forget your sandbox password -- they don't tell you this in the docs, but found out via tech support that their password reset on the sandbox login doesn't look disabled, but is disabled. (It would have been nice if they made that quite clear.) Instead, you'll have to create another sandbox account entirely when you forget a password there.

Related

Is it possible to provide a `redirect url` to shopify.com/login?

Does Shopify have a mechanism to supply a redirect URL on store owner login at https://shopify.com/login. Note, this is not customer login, but store owner.
Mailchimp provides this functionality with a redirect_uri query string parameter. In the example below, after logging in, Mailchimp will redirect the user to https://somesite.com:
https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=1234567890&redirect_uri=https%3A%2F%2Fsomesite.com
It sounds a little confusing. First of all. You seem to be concerned about whether a customer at a Shopify store (someone with an account to buy stuff and checkout) is logged in? Why? What on earth does that have to do with your App?
If you are truly concerned about that, your Shopify App, installed in the Shopify store, can accept a secure callback with the logged in customer, and you can use the API to get their details.
So there cannot be an answer to your question in my opinion, because your use case seems really mixed up in your explanation. Perhaps you can draw some boxes, connect them with arrows, publish that somewhere public, and start a discussion from there.

C# PayPal API get balance

How can I get my PayPal balance via .NET PayPal API and my API credentials?
I have already added the API to Visual Studio 2017.
I think the answer as of now is that there isn't an answer.
Here is what I do know though.
In a discussion here, someone claims that there is a whole separate API called Balance Accounts API, but the link is broken or the API is deprecated.
On the GitHub link I linked in this solution you'll see the following dialog between two users:
#AMRITPK Correct me if I am wrong, but as I see it, this API is only for PayPal partners, for retrieving balances of your internal customers. Or am I mistaken?
yes #andrey-zav , it works only if the caller is a third party... But work around is you can give permissions to your own account to call this api .. not sure if this is right approach.
So, I'm not really sure what to take out of that.
In addition, you can stay tuned to me fighting the PayPal automated bot-responsive "human" moderators on the PayPal tech support forum here.
As far as I know though, you have to be a PayPal Partner and then use some convoluted way to incorrectly ping your own account via the API to get your PayPal balance account.
I hope this helped.
UPDATE: Through exhaustive searching I found a C# .NET implementation of how to get the PayPal Account Balance using their NVP API here. You'll have to install the PayPal Merchant Nuget Package. In addition, you will have to set up your web config file using the information found here. I'm assuming this works on live as well. I have only tested it in sandbox mode, and it did indeed work.

eCommerce website - taking payments and Stripe

I'm considering setting up a eCommerce website and was wondering about the payment side of things.
After some searching I came across Stripe, which seems very similar to PayPal and Google Checkout.
I have a few questions about Stripe and eCommerce in general.
What do I need to take payments on my website? Presume that I have the shop set up, and the buy button in place. Do I need an SSL certificate, I've read something about being PCI complaint? What is and why would I need a merchant account.
Stripe appears to handle a number of things for me, and it stores the users card details. How would this work with things such as logging in to a website. Would I store the users email and password and then when they wanted to buy something Stripe would just handle the credit card side of things or would the entire user details be stored on Stripe.
Can you build and style your own payment form that then connects to Stripe or do you have to use their form on your page?
Do you have to upload all of your products to Stripe or can you store these in your own database and just pass the value of goods purchased to Stripe for payment?
What are the advantages/disadvantages of Stripe and is there any competitors that I should know about?
Thanks
Stripe requests that you should serve up payments pages over SSL. Anyone involved in payment processing must comply with PCI, if you use something like Stripe you will need to serve the payments page on SSL, but Strip will handle the payment info. Check out https://support.stripe.com/questions/do-i-need-to-be-pci-compliant-what-do-i-have-to-do for more details on what you'd need to do.
Not entirely sure on this front, perhaps someone else can comment?
You'll be able to style your page and use Stripe for the payment piece.
You can use Stripe's checkout or build your own (sounds like this is what you want to do) via Stripe.js.
Stripe is generally recognized as one of the most developer-friendly ways to accept payments online. They've worked hard to build a simple service that a developer can get up and running a matter of hours. Braintree is a competitor that may offer some valued added services and you might want to take a look at Balanced as well. I work at LevelUp, which has been used in conjunction with Stripe (as another payment method, similar to PayPal) and as a stand alone solution for apps processing online or mobile payments.

Paypal API and several emails in same PayPal account

I can not praise with my contribution here, because I am new user,
but would help if I can.
I have a big problem and I do not know how to solve it, please help.
In the same Paypal account with the default email address: email1#somedomain.com, there is 7 more emails:
email2#somedomain.com
email3#somedomain.com
email4#somedomain.com
email5#somedomain.com
email6#somedomain.com
email7#somedomain.com
that's the maximum allowed number of emails under one PayPal account (8).
So we are using API on several pages, and only one API signature can be done in the paypal
interface, so same API signature is used for each web page.
We would like to define where will money go - to which email address inside the same PayPal account.
We use Premium PayPal account, and we know that for logo change, email remove and so on, we would need Business account,
but for defining money receiver email address inside the same PayPal account
we suppose that it can be defined, otherwise we do not se a point of having several email addresses inside one same PayPal account.
The problem is that always is shown default email when making a purchase :S
We tried to define SUBJECT:
SUBJECT=merchantEmailAddress
N O T E: Typically, a merchant grants third-party permissions to a shopping cart...
And set merchantEmailAddress email2#somedomain.com.
In sandbox it works like a charm as soon as we put it on production, default mail is shown again.
Please if anyone had the same issue help.
Thank you very much, this forum is great and I realise that without nice people and contribution as well there would be no answers.
regards
You would not be using SUBJECT unless dealing with Permissions and making calls on behalf of 3rd party PayPal accounts.
You're working with a single PayPal account, so you won't be using SUBJECT at all. You'll use the credentials like you are already.
That said, I'm not sure I'm following you entirely what trying to send to different emails. I don't understand the end goal with that..?? The API credentials are what are going to tell the system where to drop the money, or pull data from, or whatever.
If you're just trying to get different logos to show up during checkout you can do that with parameters in your standard button code or API requests.
Let me know if that helps or not. Again, I'm not sure I'm understanding what you're after here.

Paypal and Payoneer users' validation API

I wrote a web-site and I want to connect the users at some point to there Paypal and Payoneer accounts.
I saw some very old posts (even in Stack overflow) that said it wasn't possible.
Does someone know if something has changes? Is it possible to do so?
I haven't used the API myself, but here is the link for the Paypal Account Authentication API. I couldn't find much about Payoneer, except that they are thinking about making a SDK.