I'm trying to integrate Hosted Checkout page on our payment page. I can correctly get a secure token. When I can't redirect the customer to the Hosted Checkout Page. Via iframe:
<iframe id="payflow-link-iframe" sandbox="allow-top-navigation allow-scripts allow-same-origin allow-forms allow-modals" src="https://pilot-payflowlink.paypal.com/?SECURETOKEN=<?php echo $secureToken; ?>&SECURETOKENID=<?php echo $secureTokenId; ?>"></iframe>
I get: Error: PayPal Express Checkout is not setup on this account.
Via Form:
<form id='PPFrom' method='post' action='https://pilot-payflowpro.paypal.com'>
<input type='text' name='SECURETOKEN' value="<?php echo $secureToken; ?>">
<input type='text' name='SECURETOKENID' value="<?php echo $secureTokenId; ?>">
<input type='text' name='VENDOR' value="<?php echo $vendor; ?>">
<input type='text' name='PARTNER' value="PayPal">
<input type='text' name='USER' value="<?php echo $user; ?>">
<input type='text' name='PWD' value="<?php echo $pw; ?>">
<input type='text' name='TRXTYPE' value="A">
<input type='text' name='TENDER' value="P">
<input type='text' name='PARMLIST' value="AMT[5]=73.95&INVNUM[5]=123456&ORDERID[5]=123456&ZIP[0]=&STREET[0]=">
<button type='submit'>Pay</button>
On Submit, I get: RESULT=25&PNREF=A3P02F9E35F0&RESPMSG=Not signed up for this tender type
If I understand well, the SecureToken and SecureTokenID should be enough for opening the Hosted Checkout Page configured in PayPal manager, as all data is sent when requesting the Secure Token. But why it wants to display Express Checkout, not a Hosted Checkout page? What is the connection between these two?
What does the "Not signed up for this tender type" means?
Which is the best way to display Hosted Checkout page?
Thanks!