Having hard time with paypal subscription button and code - can someone help me?

govirtual1
New Community Member

I have developer but they are saying paypal is not returning value but I think it is code in payment form and possible return value.

I currently have Auto Return turned on, and a return URL listed and Payment Data Transfer enabled. I am wondering if I should turn PDT off and also the auto return.

As currently this is how button is coded:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="form_paypal_standard">	
<input name="cmd" value="_xclick-subscriptions" type="hidden">
<input name="notify_url" value="xxxxxxxxxx" type="hidden">
<input name="return" value="xxxxxxxxxxxx" type="hidden">
<input name="src" value="1" type="hidden">
<input name="a3" value="8.31" type="hidden">
<input name="p3" value="1" type="hidden">
<input name="t3" value="M" type="hidden">
<input name="custom" value="13" type="hidden">
<input name="no_note" value="1" type="hidden">
<input name="no_shipping" value="1" type="hidden">
<input name="cancel_return" value="xxxxxxxxx" type="hidden">
<input name="rm" value="2" type="hidden">
<input name="bn" value="xxxxxxx" type="hidden">
<input name="business" value="xxxxxxx" type="hidden">
<input name="currency_code" value="USD" type="hidden">
<input name="item_name" value="Monthly Subscription" type="hidden">
<input name="item_number" value="22201" type="hidden">
<input value="PayPal" class="paymentButton" id="submit_paypal_standard" type="submit">
</form>

 I xxxxx'd out some information for security reasons but I am wondering if this code is correct or something is missing as it is not returning to mark invoice paid on system. So should I disable PDT? 

Login to Me Too
1 REPLY 1

govirtual1
New Community Member

Ok, turned PDT off and auto-return, and tried to make payment, still did not work to return invoice as paid. So I turned auto-return back on with url as did not redirect. So still don't know what return value is missing to return values from paypal.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.