Hi all, I have an issue using Checkout Toolkit integration
From the error, it seems like all the card numbers are not included with the request,
not sure why, or if that’s how it should be
XHRGEThttps://sandboxapi.rapyd.net/v1/hosted/payment_method_type_by_bin/checkout_f483d90a8160f425b5615d8f0ee8a60d/411111?selected_currency=USD
[HTTP/2 400 Bad Request 368ms]
1
{"status":{"error_code":"ERROR_CARD_ABSTRACTION_PMT_NOT_FOUND_BY_BIN","status":"ERROR","message":"","response_code":"ERROR_CARD_ABSTRACTION_PMT_NOT_FOUND_BY_BIN","operation_id":"e426bc92-e3f5-4b2c-8dc5-193e0b3e7955"}}
Thanks, what payment methods are you using?
It looks like it may be due to bin_details
I I’ll follow up with team members, feel free to open a support ticket on this as described here https://docs.rapyd.net/client-portal/docs/submitting-a-support-ticket
Using Card payment method only. I’m creating a payment on my client side as Checkout Toolkit Integration
And passes a new checkout id from ‘/v1/checkout’,
my example code in php to get the checkout id is
$body = [
"amount" => 100,
"complete_checkout_url" => "http://example.com/complete",
"country" => "SG",
"currency" => "SGD",
"requested_currency" => "USD",
//"merchant_reference_id" => "950ae8c6-76",
"metadata" => [
'order_id' => "S457312"
],
"payment_method_types_include" => [
"sg_credit_mastercard_card",
"sg_credit_visa_card",
//"us_mastercard_card",
]
];
$checkout_res = $this->make_request('post', '/v1/checkout', $body);
if (!isset($checkout_res['data']['id'])) return;
$checkout_id = $checkout_res['data']['id'];
After which I have the payment form successfully rendered, but can’t test payments with the test cards “the error”.