Totally Irrlicht-unrelated question I hope that's okay to ask here.
I am ready to set up various account types for certain services in my application, including ones that cost monthly and one-time payment fees.
Does anyone have experience with this? I am having a lot of troubles.
First I decided to try and use PayPal, since they are well-known. After setting up a development account and using Curl to send credit card transactions, I am receiving errors in the testing environment -- PayPal support suggests not testing but rather going directly into testing with real credit cards. Because they don't have a C++ SDK and I need to gather and parse JSON information received, this is terrible advice from such a popular company, so I've ruled them out. They are having several issues currently, and I don't want to deal with it.
Other companies, such as 4dPayments and BluePay don't have their costs online, but you must request a quote, which leads me to believe they are expensive services. Truthfully, I am not even sure they are what I am looking for.
Does anyone have experience with making transactions in C++? It looks like there aren't many options to choose from.
Payment Processing
Re: Payment Processing
I haven't done anything C++ and PayPal related but you can still use their REST SDK/API with C++..
related question/answer on stackoverflow:
https://stackoverflow.com/a/40503359/4402436
there's also a Qt based project here in C++..
https://github.com/podsvirov/qtpaypal
related question/answer on stackoverflow:
https://stackoverflow.com/a/40503359/4402436
there's also a Qt based project here in C++..
https://github.com/podsvirov/qtpaypal
-
- Posts: 386
- Joined: Sun May 11, 2014 12:13 am
Re: Payment Processing
Yes, I got a working solution for PayPal. The issue is that the sandbox (testing with a business pro account) is having problems on their end. When I spoke with their support team on the phone, their solution was not to use sandbox, but rather test with real cards. I don't want to do thatdenzelbro wrote:I haven't done anything C++ and PayPal related but you can still use their REST SDK/API with C++..
related question/answer on stackoverflow:
https://stackoverflow.com/a/40503359/4402436
there's also a Qt based project here in C++..
https://github.com/podsvirov/qtpaypal
Re: Payment Processing
I see, probably just a temporary issue and should get sorted out eventually. I doubt this will take longer as developers really rely on their sandbox system.LunaRebirth wrote:Yes, I got a working solution for PayPal. The issue is that the sandbox (testing with a business pro account) is having problems on their end. When I spoke with their support team on the phone, their solution was not to use sandbox, but rather test with real cards. I don't want to do thatdenzelbro wrote:I haven't done anything C++ and PayPal related but you can still use their REST SDK/API with C++..
related question/answer on stackoverflow:
https://stackoverflow.com/a/40503359/4402436
there's also a Qt based project here in C++..
https://github.com/podsvirov/qtpaypal
Re: Payment Processing
Are you doing on your website?
Game => Website => PayPal => Website => Game
I ask because when I do (using PHP), I send request to PayPal, they contact back to website URL and I send back confirm.
If you do in game client then they may be (probably) on intranet and PayPal not able to contact back?
I never had to use real cards to test, sandbox works ok for me, more so nowadays, but it is confusing, especially when it times out
Game => Website => PayPal => Website => Game
I ask because when I do (using PHP), I send request to PayPal, they contact back to website URL and I send back confirm.
If you do in game client then they may be (probably) on intranet and PayPal not able to contact back?
I never had to use real cards to test, sandbox works ok for me, more so nowadays, but it is confusing, especially when it times out
Re: Payment Processing
sorry, I just think
This is process I use for website and I need to redirect user to PayPal, so may not work here like this, sorry
This is process I use for website and I need to redirect user to PayPal, so may not work here like this, sorry
-
- Posts: 386
- Joined: Sun May 11, 2014 12:13 am
Re: Payment Processing
Actually, I contacted Paypal's technical support and in a matter of about a week, they fixed my account for me so I could send sandbox requests. I will say their technical support is very irritating (the person I spoke to didn't know they were able to access my account, and a few days later asked for my account information so they could fix my account even though I already gave the information -- very frustrating..)
I tried to set up the payment requests using libcurl in C++, but it requires being built with TLS V1.2. I spent days and several dozens of hours trying to build it in every way possible, but always resulted in incompatibility with MinGW errors.
In the end, I just downloaded the Curl binary executable and made System() calls on my Amazon EC2 server and piped the response, then parsed the result to see whether the transaction completed/failed.
Seems to work pretty well.
I tried to set up the payment requests using libcurl in C++, but it requires being built with TLS V1.2. I spent days and several dozens of hours trying to build it in every way possible, but always resulted in incompatibility with MinGW errors.
In the end, I just downloaded the Curl binary executable and made System() calls on my Amazon EC2 server and piped the response, then parsed the result to see whether the transaction completed/failed.
Seems to work pretty well.