1
タイトルに尋ねると、支払いAPI、特にCreatePaymentエンドポイントを使用するには、「Pro」アカウントが必要ですか。Payments APIを使用するには、「Pro」Paypalアカウントが必要です
私はPaypalチェックアウトを使用したくないので、私は自分のサイトから支払いを処理するために使いたいと思っています。
「機能」リストにはカスタマイズとページ上のチェックアウトにプロアカウントが必要だとわかりますが、これがREST APIを参照しているかどうかはわかりません。
だから、基本的に私が使用したいすべてがある:
curl -v -X POST https://api.sandbox.paypal.com/v1/payments/payment \
-H "Content-Type:application/json" \
-H "Authorization: Bearer Access-Token" \
-d '{
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
"transactions": [
{
"amount": {
"total": "30.11",
"currency": "USD",
"details": {
"subtotal": "30.00",
"tax": "0.07",
"shipping": "0.03",
"handling_fee": "1.00",
"shipping_discount": "-1.00",
"insurance": "0.01"
}
},
"description": "This is the payment transaction description.",
"custom": "EBAY_EMS_90048630024435",
"invoice_number": "48787589673",
"payment_options": {
"allowed_payment_method": "INSTANT_FUNDING_SOURCE"
},
"soft_descriptor": "ECHI5786786",
"item_list": {
"items": [
{
"name": "hat",
"description": "Brown color hat",
"quantity": "5",
"price": "3",
"tax": "0.01",
"sku": "1",
"currency": "USD"
},
{
"name": "handbag",
"description": "Black color hand bag",
"quantity": "1",
"price": "15",
"tax": "0.02",
"sku": "product34",
"currency": "USD"
}
],
"shipping_address": {
"recipient_name": "Hello World",
"line1": "4thFloor",
"line2": "unit#34",
"city": "SAn Jose",
"country_code": "US",
"postal_code": "95131",
"phone": "011862212345678",
"state": "CA"
}
}
}
],
"note_to_payer": "Contact us for any questions on your order.",
"redirect_urls": {
"return_url": "http://www.amazon.com",
"cancel_url": "http://www.hawaii.com"
}
}'
私のサイトは間違いなくSSLを使用しています。私はポップアップやボタンの追加に関心がありません。私は私のサイトに私が使いたいクレジットカードフォームを持っています。 Express Expressは、現時点でクレジットカード決済をオンラインで受け付けており、支払いオプションとしてPayPalを追加したいと考えている加盟店のソリューションです。これは私のシナリオではない、私は現在支払いを受け付けていないが、私はクレジットカードを受け取りたい。 – Mark
PayPalで**処理**されたクレジットカードを受け入れるには、残念ながらプロアカウントが必要です。あなたが[PayPal Payments Pro](https://www.paypal.com/us/webapps/mpp/paypal-payments-pro)を探しているようです。 –
ありがとうございます@オシディアン時代、私が探していた情報です。 – Mark