Paypal Standard Web Service API Stops Accepting Custom Form

Mindwatering Incorporated

Author: Tripp W Black

Created: 05/10/2017 at 07:32 PM

 

Category:
Adobe Creative Suite, Notes Developer Tips

E-Commerce

Issue:
Paypal payments stopped working. Error message in URL said:


Solution:
Updated the computed text of the the Amount HTML INPUT variable:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
...
<input type="hidden" name="amount" value="<computedtext>">
...
</form>

Computed Text:
REM "2017/05/10 Removed comma as PP no longer permits variable with AMOUNT_ERROR otherwise.";
tmp1:= @Text(TotalAdjusted; "F,2");
@ReplaceSubstring(tmp1; ","; "");



previous page