问题
I am using ubercart
module in Drupal
, and I need help to configure return URL
from PayPal sandbox
. I tried creating business account in https://developer.paypal.com/webapps/developer/dashboard , but that also is not working.
回答1:
When you say you're unable to create a Business account what error are you receiving or are you unable to login? Please provide more details on this and feel free to contact me via the details in my profile.
Here are the steps to enable Auto Return in your test account.
- Log into https://developer.paypal.com
- Click Applications
- Click Sandbox accounts
- Expand the account in question
- Click Sandbox site
- Login to the test account
- Copy and paste "https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_profile-website-payments" into your browser
- Enable Auto Return and click Save
- Enter the Auto Return URL and click Save
Let me know if these steps give you any issues.
回答2:
I was also facing similar issue, How I set the auto redirect URL in the sandbox mode is as following.
1) Login to the sandbox.paypal.com using the sandbox business account example,
xyz-facilitator@example.com
there set Auto redirect to On, and Turn off PayPal Account Optional setting.
2) In the paypal button (Form) code use following for the business information.
<input type="hidden" name="business" value="xyz-facilitator@example.com"/>
来源:https://stackoverflow.com/questions/15355265/how-to-configure-paypal-sandbox-auto-return-url