久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在Paypal中完成購買后重定向到原始站點

Redirection to the original site after purchase is completed in Paypal(在Paypal中完成購買后重定向到原始站點)
本文介紹了在Paypal中完成購買后重定向到原始站點的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在制作一款網(wǎng)絡(luò)應(yīng)用.我已經(jīng)使用簡單的表單提交到 Paypal 站點將 Paypal 集成到其中.一切正常.但是每當(dāng)付款成功時,它應(yīng)該使用 Paypal 的響應(yīng)重定向回我的原始站點.但是,它沒有按應(yīng)有的方式工作.目前它僅保留在 Paypal 網(wǎng)站上.

I'm making one web app. I've integrated Paypal in it using simple form submission to the Paypal site. Everything works well. but whenever the payment gets successful it should redirect back to my original site with the response from Paypal. However, it's not working as it should be. Currently it stays on the Paypal site only.

<form action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='post' name='form'>
 <input type='hidden' name='business' value='<?php echo $paypal_id; ?>'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='item_name' id='item_name' value=''>
<input type='hidden' name='item_number' id='item_number' value=''>
<input type='hidden' name='amount' id='amount' value=''>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='currency_code' value='USD'>
<input type='hidden' name='cancel_return' value='http://yoursite.com/cancel.php'>
<input type='hidden' name='return' value='http://mysite.com/user_credits/purchase_credits'>
<input type="image" src="https://paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit">

我錯過了什么?我使用的是 CakePHP 2.0.

what am I missing in it? I'm using CakePHP 2.0.

推薦答案

您必須在 paypal 中啟用自動返回功能設(shè)置.

You have to enable auto return functionality setting in paypal .

只需按照以下步驟啟用

  1. 登錄并單擊我的帳戶"下的個人資料"子選項卡.
  2. 點擊銷售偏好"下的網(wǎng)站支付偏好"鏈接.
  3. 點擊開啟單選按鈕以啟用自動返回.
  4. 輸入返回 URL.注意:您必須滿足返回 URL 要求才能設(shè)置自動返回.詳細(xì)了解返回網(wǎng)址.

對于沙盒帳戶,請執(zhí)行以下操作

For sandbox account do the following

  1. 登錄 Sandbox Merchant Id,然后點擊我的帳戶下的個人資料子選項卡.
  2. 點擊個人資料"下的更多選項"鏈接.
  3. 查看第三行的銷售偏好.
  4. 點擊銷售偏好"下的網(wǎng)站支付偏好"鏈接
  5. 點擊開啟單選按鈕以啟用自動返回.
  6. 點擊開啟單選按鈕以啟用自動返回.
  7. 輸入返回 URL.注意:您必須滿足返回 URL 要求才能設(shè)置自動返回.詳細(xì)了解返回網(wǎng)址.

這篇關(guān)于在Paypal中完成購買后重定向到原始站點的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Cannot use #39;Object as class name as it is reserved Cake 2.2.x(不能使用 Object 作為類名,因為它是保留的 Cake 2.2.x)
Session is lost after an OAuth redirect(OAuth 重定向后會話丟失)
Pagination Sort in Cakephp 3.x(Cakephp 3.x 中的分頁排序)
CakePHP Shared core for multiple apps(CakePHP 多個應(yīng)用程序的共享核心)
Login [ Auth-gt;identify() ] always false on CakePHP 3(在 CakePHP 3 上登錄 [ Auth-identify() ] 始終為 false)
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 87 bytes)(致命錯誤:允許的內(nèi)存大小為 134217728 字節(jié)已用盡(嘗試分配 87 字節(jié)))
主站蜘蛛池模板: 综合久久网| 亚洲一一在线 | 精品亚洲永久免费精品 | 中文字幕精品一区 | 成人三级影院 | 人成久久 | 欧美中文字幕一区二区三区亚洲 | 欧美一级高潮片免费的 | 一区精品在线观看 | 日韩在线观看视频一区 | 粉嫩av久久一区二区三区 | 99精品久久 | 国产日韩亚洲欧美 | 免费激情网站 | 国产免费视频 | 91精品中文字幕一区二区三区 | 欧美精品福利视频 | 日韩三区 | 国产美女一区二区三区 | 亚洲在线一区二区 | 超碰在线97国产 | 欧美在线视频一区 | 久久久爽爽爽美女图片 | 乱一性一乱一交一视频a∨ 色爱av | 国产一区999| 色综合天天综合网国产成人网 | 亚洲网站在线观看 | 久久国 | 久久国产高清 | 国产香蕉视频在线播放 | 福利国产 | 欧美精品一二三区 | 午夜男人的天堂 | 成人免费视频一区二区 | 三级在线观看 | 深夜福利亚洲 | 国产美女久久 | 丁香五月缴情综合网 | 久久久久亚洲精品中文字幕 | 精品一区二区久久久久久久网站 | 一级黄色片毛片 |