PayPal Web Payments Pro Hosted - Credit Card payment confirmation page -


i've implemented website payments pro hosted on website. can pay using paypal log in , gives me link return store fine display order confirmation page user.

when user decides pay via credit card:

enter image description here

they redirected confirmation page don't seem have control over:

enter image description here

what i've tried:

  1. setting auto return on in preferences , setting return url (both via profile , in initial api call when generating button.
  2. changing web payments pro confirmation page setting on sites confirmation page.

when payment taken via credit card, i'd redirect user actual payment confirmation page. possible?

it turns out showhostedthankyoupage=true causing issue.

i using .net button api generate request iframe so:

var service = new paypalapiinterfaceserviceservice(getconfig(request));         var createbuttonresponse = service.bmcreatebutton(new bmcreatebuttonreq         {             bmcreatebuttonrequest = new bmcreatebuttonrequesttype             {                 buttontype = buttontypetype.payment,                 buttoncode = buttoncodetype.token,                 buttoncountry = countrycodetype,                 buttonvar = new list<string>                 {                     string.format("subtotal={0}", _salesorderpriceservice.getgrosstotal(request.order)),                     string.format("notify_url={0}", request.notifyurl),                     string.format("return={0}", request.returnurl),                     string.format("invoice={0}", request.order.id),                     string.format("currency_code={0}", request.order.currency.code),                     string.format("cancel_return={0}", request.cancelreturnurl),                     "billing_first_name=test",                     "billing_last_name=tset",                     "billing_address1=test",                     "billing_city=test",                     "billing_state=tes",                     "billing_zip=test",                     "billing_country=gb",                     "template=templated",                     "paymentaction=sale",                     "business=tset"                 }             }         }); 

i had showhostedthankyoupage=true included in name value pairs causing issue. removing sorted out.


Comments