Start Smart Checkout by URL
If the Smart Transaction is prepared for payment, you can access the URLs in the object payment_links:
{
"object"
:
"smart.transactions"
,
"id"
:
"STX_2AUSR7M6B2NHPG3C4JTKBEY07YXSAZ"
,
// ...
"payment_links"
: {
"creditcard"
:
"https://checkout-dev.secuconnect.com?..."
,
"debit"
:
"https://checkout-dev.secuconnect.com?..."
,
"invoice"
:
"https://checkout-dev.secuconnect.com?..."
,
// ...
"general"
:
"https://checkout-dev.secuconnect.com?..."
}
// ...
}
There can be these URLs:
Field |
Meaning |
payment_links/creditcard |
URL to make a credit card payment |
payment_links/debit |
URL to make a SEPA direct debit payment |
payment_links/invoice |
URL to make a SEPA direct debit payment |
payment_links/prepaid |
URL to make an advance payment |
payment_links/paypal |
URL to make a PayPal payment |
payment_links/sofort |
URL to make a Sofort payment |
payment_links/general |
URL to offer a payment method selection, if there are multiple methods, or the only method available |
The presence of the respective URLs depends on your contract.
It is up to the shop to offer this URL to the prospective customer. Here a few suggestions:
It can be opened full screen in a browser using an <a> tag.
It can be opened in a modal layer that is able to show an arbitrary HTTP source.
It can be sent via e-mail or in a chat window to a known customer.
When you integrate it into a web application you should define return URLs. There is another Reference section to explain this.
When you open the Checkout Wizard in a layer, you need to consider that it might switch to full screen mode. This is needed for instance for the 3-D Secure checks.