Removed dollar sign from 'amount'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A Perl subroutine formatting values with a dollar sign apparently caused my Paypal 'button' to redirect to the old user interface, which won't work after 29 March 2017.
Making a new subroutine, which makes values without dollar signs, was easier than using an extra argument in the old subroutine, so my Paypal 'button' now seems to redirect to the new user interface.
I couldn't remember, yesterday, how to remove the dollar sign with a regular expression, but this morning, I tested just a couple of lines of Perl that seemed to remove the dollar sign, which could have been a cleaner way of making the 'amount' value, with no dollar sign.
So, couldn't Paypal have just used a regular expression to remove the dollar signs, that seemed to be causing the problem?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- My webhook stopped working 2 weeks ago in REST APIs
- Payment not automatically being captured, funds not transferred in Sandbox Environment
- REST API issues in sandbox in REST APIs
- Capture order API v2 returning error in REST APIs
- Processor Declined for Braintree Sandbox transaction in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)