16,004,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Simphiwe_Magubane (Top 5 by date)
Simphiwe_Magubane
16-Sep-19 17:19pm
View
The TextChanged event is for when the content of the Textbox changes and only if it is changed by the user.
Simphiwe_Magubane
16-Sep-19 16:12pm
View
OK so here is the problem am having
paypal.Button.render({
//Configure environment
env: 'production', // To test, set to `sandbox`
payment: function () {
// Set up the payment here, when the buyer clicks on the button
},
onAuthorize: function (data, actions) {
// Call your server to execute the payment
if (error === 'INSTRUMENT_DECLINED') {
actions.restart();
}
}
}, '#paypal-button');
Simphiwe_Magubane
16-Sep-19 16:06pm
View
What am actually trying to do is to perform a payment with 3 steps:
1) Order Page with PayNow Button for users to click
2) PayPal Payment
3) Redirect to "Payment completed page"
What I want to complete is to have an ID going from step 1 to 3. What I tried to do is to insert this field into the "custom" variable like:
After the PayPal payment, PayPal redirect me to my page:
http://www.mysite.cm/tx=blalba?aaaa
With this URL there is no custom Field. If from API, I contact PayPal to have the sale details, I get nothing related to my custom Field.
Simphiwe_Magubane
16-Sep-19 16:03pm
View
Deleted
What am actually trying to do is to perform a payment with 3 steps:
1) Order Page with PayNow Button for users to click
2) PayPal Payment
3) Redirect to "Payment completed page"
What I want to complete is to have an ID going from step 1 to 3. What I tried to do is to insert this field into the "custom" variable like:
After the PayPal payment, PayPal redirect me to my page:
http://www.mysite.cm/tx=blalba?aaaa
With this URL there is no custom Field. If from API, I contact PayPal to have the sale details, I get nothing related to my custom Field.
Simphiwe_Magubane
16-Sep-19 15:35pm
View
Here is the code for the user to enter a value manually into a textBox, and clicking the button (with the product selected) will update the quantity. There's no crash, but it doesn't do anything.
private void PlusOne_Click(object sender, EventArgs e)
{
foreach (ListViewItem list in listView1.SelectedItems)
{
list.SubItems.Add(addBox.Text);
}
}
private void addBox_TextChanged(object sender, EventArgs e)
{
int addOne = int.Parse(addBox.Text);
}